summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-24 12:30:35 -0300
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-07-26 09:25:33 +0200
commit7e509aae23665b9a79f6c9b4c24d1d8a55bd3582 (patch)
treece9a45b8ac8636f2fdfe4410fe631b4295e7559d /Rules.mak
parent8a3747a9d8d5ce2c6130a742319257d0f8b82d8f (diff)
Rules.mak: Fix setting arch native bit
fix breakage from 603af30d Removing the whitespace from findstring for 64 bit architectures has bad consequences since powerpc would be a match in powerpc64 and sparc would also be a match in sparc64. That doesn't make them 64 bits in reality causing general breakage. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 889108eb2..be53d81d9 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -141,7 +141,7 @@ UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION)
UCLIBC_LDSO_NAME := ld-uClibc
ARCH_NATIVE_BIT := 32
-ifneq ($(findstring $(TARGET_ARCH),hppa64 ia64 powerpc64 s390x sparc64 x86_64),)
+ifneq ($(findstring $(TARGET_ARCH) , hppa64 ia64 powerpc64 s390x sparc64 x86_64 ),)
UCLIBC_LDSO_NAME := ld64-uClibc
ARCH_NATIVE_BIT := 64
else