981-fix_setting_arch_native_bit.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. From 7e509aae23665b9a79f6c9b4c24d1d8a55bd3582 Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Wed, 24 Jul 2013 15:30:35 +0000
  4. Subject: Rules.mak: Fix setting arch native bit
  5. fix breakage from 603af30d
  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. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  11. Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
  12. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  13. ---
  14. diff --git a/Rules.mak b/Rules.mak
  15. index 889108e..be53d81 100644
  16. --- a/Rules.mak
  17. +++ b/Rules.mak
  18. @@ -141,7 +141,7 @@ UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION)
  19. UCLIBC_LDSO_NAME := ld-uClibc
  20. ARCH_NATIVE_BIT := 32
  21. -ifneq ($(findstring $(TARGET_ARCH),hppa64 ia64 powerpc64 s390x sparc64 x86_64),)
  22. +ifneq ($(findstring $(TARGET_ARCH) , hppa64 ia64 powerpc64 s390x sparc64 x86_64 ),)
  23. UCLIBC_LDSO_NAME := ld64-uClibc
  24. ARCH_NATIVE_BIT := 64
  25. else
  26. --
  27. cgit v0.9.1