[brcm63xx] remove gpiodev, prefer sysfs gpio
[openwrt.git] / toolchain / eglibc / Makefile
index 6be8097..dec7ec3 100644 (file)
@@ -55,11 +55,16 @@ 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) \
        CFLAGS="$(EGLIBC_CFLAGS)" \
        libc_cv_slibdir="/lib" \
+       use_ldconfig=no \
        $(HOST_BUILD_DIR)/libc/configure \
                --prefix= \
                --build=$(GNU_HOST_NAME) \
This page took 0.026375 seconds and 4 git commands to generate.