1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:55:55 +02:00

[toolchain/eglibc} eglibc in fact can be built with -Os

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27214 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2011-06-18 11:14:01 +00:00
parent 48a0a5ccf0
commit 62dcca9fd7

View File

@ -52,10 +52,6 @@ HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.eglibc_installed
HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial
HOST_BUILD_DIR2:=$(HOST_BUILD_DIR)-final 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:= \ EGLIBC_CONFIGURE:= \
BUILD_CC="$(HOSTCC)" \ BUILD_CC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \