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

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