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

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