Blame SOURCES/ltrace-0.7.91-ppc64le-configure.patch

92319b
From eea6091f8672b01f7f022b0fc367e0f568225ffc Mon Sep 17 00:00:00 2001
92319b
From: Petr Machata <pmachata@redhat.com>
92319b
Date: Fri, 8 Aug 2014 17:09:58 +0200
92319b
Subject: [PATCH] Recognize powerpc64le in configure
92319b
92319b
---
92319b
 configure.ac | 14 +++++++-------
92319b
 1 file changed, 7 insertions(+), 7 deletions(-)
92319b
92319b
diff --git a/configure.ac b/configure.ac
92319b
index 4f360c8..6fe5e3b 100644
92319b
--- a/configure.ac
92319b
+++ b/configure.ac
92319b
@@ -43,7 +43,7 @@ case "${host_cpu}" in
92319b
     arm*|sa110)		HOST_CPU="arm" ;;
92319b
     cris*)		HOST_CPU="cris" ;;
92319b
     mips*)		HOST_CPU="mips" ;;
92319b
-    powerpc|powerpc64)	HOST_CPU="ppc" ;;
92319b
+    powerpc|powerpc64|powerpc64le)	HOST_CPU="ppc" ;;
92319b
     sun4u|sparc64)	HOST_CPU="sparc" ;;
92319b
     s390x)		HOST_CPU="s390" ;;
92319b
     i?86|x86_64)	HOST_CPU="x86" ;;
92319b
@@ -210,12 +210,12 @@ AC_MSG_RESULT([$enable_libunwind])
92319b
 
92319b
 if test x"$enable_libunwind" = xyes; then
92319b
   case "${host_cpu}" in
92319b
-      arm*|sa110)         UNWIND_ARCH="arm" ;;
92319b
-      i?86)               UNWIND_ARCH="x86" ;;
92319b
-      powerpc)            UNWIND_ARCH="ppc32" ;;
92319b
-      powerpc64)          UNWIND_ARCH="ppc64" ;;
92319b
-      mips*)              UNWIND_ARCH="mips" ;;
92319b
-      *)                  UNWIND_ARCH="${host_cpu}" ;;
92319b
+      arm*|sa110)	  UNWIND_ARCH="arm" ;;
92319b
+      i?86)		  UNWIND_ARCH="x86" ;;
92319b
+      powerpc)		  UNWIND_ARCH="ppc32" ;;
92319b
+      powerpc64|powerpc64le)	UNWIND_ARCH="ppc64" ;;
92319b
+      mips*)		  UNWIND_ARCH="mips" ;;
92319b
+      *)		  UNWIND_ARCH="${host_cpu}" ;;
92319b
   esac
92319b
 
92319b
   saved_LDFLAGS="${LDFLAGS}"
92319b
-- 
92319b
2.1.0
92319b