aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/eglibc
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2011-06-26 21:47:14 +0000
committerMirko Vogt <mirko@openwrt.org>2011-06-26 21:47:14 +0000
commitf2591f8d5436e894e72a87d7b8813cc09dcce6ad (patch)
treebd1075c91eafa53dc4473ec3af49876bbe8c3a73 /toolchain/eglibc
parent92726d8f3243ac2e91823ba4c3c1e66cec083581 (diff)
downloadupstream-f2591f8d5436e894e72a87d7b8813cc09dcce6ad.tar.gz
upstream-f2591f8d5436e894e72a87d7b8813cc09dcce6ad.tar.bz2
upstream-f2591f8d5436e894e72a87d7b8813cc09dcce6ad.zip
eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
SVN-Revision: 27290
Diffstat (limited to 'toolchain/eglibc')
-rw-r--r--toolchain/eglibc/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index dec7ec3c11..07ad22e0af 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -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)" \