eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
SVN-Revision: 27290
This commit is contained in:
parent
92726d8f32
commit
f2591f8d54
|
@ -55,9 +55,8 @@ 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
|
EGLIBC_CFLAGS:= \
|
||||||
# http://sourceware.org/bugzilla/show_bug.cgi?id=5203
|
$(TARGET_CFLAGS)
|
||||||
EGLIBC_CFLAGS:=$(subst -Os,-O2,$(TARGET_CFLAGS))
|
|
||||||
|
|
||||||
EGLIBC_CONFIGURE:= \
|
EGLIBC_CONFIGURE:= \
|
||||||
BUILD_CC="$(HOSTCC)" \
|
BUILD_CC="$(HOSTCC)" \
|
||||||
|
|
Loading…
Reference in New Issue