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