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

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