uClibc: unbreak ld-uClibc on non-64bit platforms

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36239
This commit is contained in:
Felix Fietkau 2013-04-07 10:11:38 +00:00
parent 10d8e4b66c
commit 46072644e5
1 changed files with 1 additions and 1 deletions

View 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