summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-16 15:10:54 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-16 15:10:54 +0000
commit02c6dba4f35e12d6909474dca3cb757d52dd8557 (patch)
tree39f1358c94e623a0004b8089c945e14e945a5291
parent48c12e04cad347c03c7bfeb2a291ec6b21e96a1f (diff)
Build crti.o and crtn.o with optimization enabled
-Erik
-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 a322acf63..ba35ed22a 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -24,7 +24,7 @@
TOPDIR=../../../../
include $(TOPDIR)Rules.mak
-SAFECFLAGS=-Os -fno-builtin
+SAFECFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin
ifeq ($(strip $(DOPIC)),true)
SAFECFLAGS+=-fPIC
endif