uClibc: unbreak ld-uClibc on non-64bit platforms
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Apr 2013 10:11:38 +0000 (10:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 7 Apr 2013 10:11:38 +0000 (10:11 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36239

toolchain/uClibc/patches-0.9.33.2/980-mips64_fixes.patch

index 3f02bb4..0895b8b 100644 (file)
@@ -19,7 +19,7 @@ diff -Nur uClibc-0.9.33.2.orig/Rules.mak uClibc-0.9.33.2/Rules.mak
  SHARED_LIBNAME := $(LIBC).so.$(ABI_VERSION)
  UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION)
 -ifneq ($(findstring  $(TARGET_ARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),)
-+ifneq ($(findstring  $(TARGET_SUBARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),)
++ifneq ($(strip $(findstring  $(TARGET_SUBARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 )),)
  UCLIBC_LDSO_NAME := ld64-uClibc
  ARCH_NATIVE_BIT := 64
  else