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

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