diff options
author | Mirko Vogt <mirko@openwrt.org> | 2011-06-20 11:12:46 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2011-06-20 11:12:46 +0000 |
commit | 33fc3f8906e5541967b25edef1f65c1a6791c150 (patch) | |
tree | b0a438cce40956867a5ba66494e19fc77ca14fc8 /toolchain/eglibc | |
parent | 11dcad28346b7df7c2caedd65bbd855589dce03a (diff) | |
download | upstream-33fc3f8906e5541967b25edef1f65c1a6791c150.tar.gz upstream-33fc3f8906e5541967b25edef1f65c1a6791c150.tar.bz2 upstream-33fc3f8906e5541967b25edef1f65c1a6791c150.zip |
Revert "[toolchain/eglibc} eglibc in fact can be built with -Os"
Compiling with -Os results in: "error: #error "glibc cannot be compiled without optimization"
Still, building with -Os is listed as feature in
<http://www.eglibc.org/features>:
""
Building with -Os
EGLIBC supports building the library with compiler optimizing for size -Os instead of for speed -O2.
""
SVN-Revision: 27245
Diffstat (limited to 'toolchain/eglibc')
-rw-r--r-- | toolchain/eglibc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index 1e1031deb8..dec7ec3c11 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -55,6 +55,10 @@ 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_CONFIGURE:= \ BUILD_CC="$(HOSTCC)" \ $(TARGET_CONFIGURE_OPTS) \ |