summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-19 17:44:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-19 17:44:31 +0200
commit3ca765cffe28375f2d3fb368fcede63908d0fde4 (patch)
tree16b991b75a7129be02aca5ca59a5b34880c877e8 /toolchain
parentc1d1c1c82deb5afc695f2113310c501f80692f5e (diff)
eglibc compiles fine with -Os, at least for x86_64,sparc64,mips,mipsel and arm, still breakage with x86
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index 13a537c05..76b09237d 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -7,11 +7,6 @@ include Makefile.inc
include Makefile.multilib
include ${TOPDIR}/mk/buildhlp.mk
-# eglibc does not compile with Os
-TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS))
-ifneq ($(ADK_DEBUG),)
-TARGET_CFLAGS_LIBC+= -O2
-endif
# ssp partially supported
TARGET_CFLAGS_LIBC:= $(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC))