On 2011-06-20 1:15 PM, Mirko Vogt wrote:
OK, I reverted the commit.
However as stated in eglibc features ( http://www.eglibc.org/features
):
==
Building with -Os
EGLIBC supports building the library with compiler optimizing for
size -Os instead of for speed -O2.
If you look closely, it's not about -O2 vs -Os, it's about having
EGLIBC_CFLAGS set vs unset :)
Just set EGLIBC_CFLAGS to TARGET_CFLAGS.
On Mon, 20 Jun 2011 09:01:36 +0300, Mika Laitio wrote:
On 06/20/2011 06:16 AM, Philip Prindeville wrote:
On 6/18/11 4:14 AM, [email protected] wrote:
Author: mirko
Date: 2011-06-18 13:14:01 +0200 (Sat, 18 Jun 2011)
New Revision: 27214
Modified:
trunk/toolchain/eglibc/Makefile
Log:
[toolchain/eglibc} eglibc in fact can be built with -Os
Modified: trunk/toolchain/eglibc/Makefile
===================================================================
--- trunk/toolchain/eglibc/Makefile 2011-06-18 07:33:28 UTC (rev
27213)
+++ trunk/toolchain/eglibc/Makefile 2011-06-18 11:14:01 UTC (rev
27214)
@@ -52,10 +52,6 @@
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) \
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel