diff options
author | Mirko Vogt <mirko@openwrt.org> | 2011-06-26 21:47:14 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2011-06-26 21:47:14 +0000 |
commit | a79052016b1d021444a9bf45a461a7efe0906c58 (patch) | |
tree | 5e1d3707489962d3d4d5749bcfc2ff6e2bb5db17 /toolchain | |
parent | 0b4c80a1c45d37f0db18b454568f0667ddfc05ef (diff) | |
download | upstream-a79052016b1d021444a9bf45a461a7efe0906c58.tar.gz upstream-a79052016b1d021444a9bf45a461a7efe0906c58.tar.bz2 upstream-a79052016b1d021444a9bf45a461a7efe0906c58.zip |
[toolchain/eglibc] eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/eglibc/Makefile | 5 |
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)" \ |