summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
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 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