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