gentoo-ebuilds/app-admin/paxtest/files/paxtest-0.9.13-Makefile.patch
Marty E. Plummer 2cfe92ed72
app-admin/paxtest: epatch->PATCHES=()
Also dropped unneeded eutils and multilib eclasses.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
2018-04-21 07:15:06 -04:00

20 lines
508 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -52,12 +52,14 @@
endif
# for some reason the .c files need it, else GNU_STACK=RWE
-OPT_FLAGS := -O2 $(ASFLAGS)
+# Gentoo's CFLAGS should be honored
+OPT_FLAGS := $(CFLAGS) $(ASFLAGS)
PTHREAD := -lpthread
# define stripping of binaries/libs here, or set these on make's commandline,
# else you'll loose the chpax flags!
-LDFLAGS :=
-SHLDFLAGS :=
+# Gentoo's LDFLAGS should be honored
+LDFLAGS := $(LDFLAGS)
+SHLDFLAGS := $(LDFLAGS)
ifndef RUNDIR
RUNDIR := .
endif