summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-05 05:39:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-05 05:39:33 +0000
commit3216db7c3b4e6f8271ee0857819ae6f35ca05e0c (patch)
tree00672f051c5a6878f6719f5bd65dc0a4b3e636df /libc
parentebaee63a76b0c3117d72bcb7bf8cb3bf03a83361 (diff)
Patch from Stefan Allius. Include CPU_CFLAGS when compiling
initfini
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 5139b52f5..a0b140f65 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -24,7 +24,7 @@
TOPDIR=../../../../
include $(TOPDIR)Rules.mak
-SAFECFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin
+SAFECFLAGS=$(WARNINGS) $(CPU_CFLAGS-y) $(OPTIMIZATION) -fno-builtin
ifeq ($(strip $(DOPIC)),y)
SAFECFLAGS+=-fPIC
endif