mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 07:01:08 +00:00
Also dropped unneeded eutils and multilib eclasses. Package-Manager: Portage-2.3.31, Repoman-2.3.9
20 lines
508 B
Diff
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
|