[toolchain/eglibc] eglibc CAN be compiled with -Os after all - flags however need...
authorMirko Vogt <mirko@openwrt.org>
Sun, 26 Jun 2011 21:47:14 +0000 (21:47 +0000)
committerMirko Vogt <mirko@openwrt.org>
Sun, 26 Jun 2011 21:47:14 +0000 (21:47 +0000)
SVN-Revision: 27290

toolchain/eglibc/Makefile

index dec7ec3c11b9190d2d04ba50c66a5ed5b8818f99..07ad22e0af01575b5598f75169cc3380165ca4cf 100644 (file)
@@ -55,9 +55,8 @@ HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.eglibc_installed
 HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial
 HOST_BUILD_DIR2:=$(HOST_BUILD_DIR)-final
 
-# XXX: {e,}glibc does not build w/ -Os
-# http://sourceware.org/bugzilla/show_bug.cgi?id=5203
-EGLIBC_CFLAGS:=$(subst -Os,-O2,$(TARGET_CFLAGS))
+EGLIBC_CFLAGS:= \
+       $(TARGET_CFLAGS)
 
 EGLIBC_CONFIGURE:= \
        BUILD_CC="$(HOSTCC)" \