uclibc.inc : also exclude mips and mipsel from GNU hash.
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Tue, 2 Jun 2009 21:27:43 +0000 (23:27 +0200)
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Tue, 2 Jun 2009 21:27:43 +0000 (23:27 +0200)
because mips and mipsel are incompatible with GNU hash:
see: http://www.sourceware.org/ml/binutils/2006-07/msg00341.html for more details about that incompatibility

recipes/uclibc/uclibc.inc

index f2f3e9b..a967954 100644 (file)
@@ -95,7 +95,7 @@ configmangle = 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE="${KERNEL_SOURCE}",g; \
                s,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX="/lib",; \
                s,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g; \
                ${@["","s,.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y,;"][bb.data.getVar("USE_NLS", d, 1) == "yes"]} \
-               ${@["","s,.*LDSO_GNU_HASH_SUPPORT.*,# LDSO_GNU_HASH_SUPPORT is not set,;"][bb.data.getVar("TARGET_ARCH", d, 1) == "avr32"]} \
+               ${@["","s,.*LDSO_GNU_HASH_SUPPORT.*,# LDSO_GNU_HASH_SUPPORT is not set,;"][bb.data.getVar("TARGET_ARCH", d, 1) in ['mips', 'mipsel', 'avr32']]} \
                '
 
 CFLAGS := "${@oe_filter_out('-I\S+', '${CFLAGS}', d)}"