61ed439cdb076a632386b571d35a14a8046b1281
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / 0.9.33.2 / 0010-Rules.mak-fix-breakage-from-603af30d.patch
1 From f5017653dc63d62c94cc2884ed3a50a4f93001cd Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Wed, 24 Jul 2013 12:28:19 -0300
4 Subject: [PATCHv2] Rules.mak: fix breakage from 603af30d
5
6 Removing the whitespace from findstring for 64 bit architectures has
7 bad consequences since powerpc would be a match in powerpc64 and sparc
8 would also be a match in sparc64.
9 That doesn't make them 64 bits in reality causing general breakage.
10
11 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
12 ---
13  Rules.mak | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/Rules.mak b/Rules.mak
17 index 889108e..be53d81 100644
18 --- a/Rules.mak
19 +++ b/Rules.mak
20 @@ -141,7 +141,7 @@ UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION)
21  
22  UCLIBC_LDSO_NAME := ld-uClibc
23  ARCH_NATIVE_BIT := 32
24 -ifneq ($(findstring $(TARGET_ARCH),hppa64 ia64 powerpc64 s390x sparc64 x86_64),)
25 +ifneq ($(findstring  $(TARGET_ARCH) , hppa64 ia64 powerpc64 s390x sparc64 x86_64 ),)
26  UCLIBC_LDSO_NAME := ld64-uClibc
27  ARCH_NATIVE_BIT := 64
28  else
29 -- 
30 1.8.1.5
31