2011-07-20 09:18:00 +00:00
|
|
|
From 5a66ed56d4ec20e0df41d0b06f122264ee5811af Mon Sep 17 00:00:00 2001
|
2010-06-08 07:48:12 +00:00
|
|
|
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
|
2011-01-18 14:10:05 +00:00
|
|
|
Date: Tue, 18 Jan 2011 14:48:05 +0100
|
|
|
|
Subject: [PATCH 2/3] ppc64 configure
|
2010-06-08 07:48:12 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
src/native/unix/configure | 5 ++++-
|
|
|
|
src/native/unix/support/config.sub | 12 +++++++++---
|
|
|
|
2 files changed, 13 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/native/unix/configure b/src/native/unix/configure
|
2011-07-20 09:18:00 +00:00
|
|
|
index 64d88bf..1fc9007 100755
|
2010-06-08 07:48:12 +00:00
|
|
|
--- a/src/native/unix/configure
|
|
|
|
+++ b/src/native/unix/configure
|
2011-07-20 09:18:00 +00:00
|
|
|
@@ -2563,7 +2563,10 @@ echo "$as_me: error: Unsupported operating system \"$host_os\"" >&2;}
|
2010-06-08 07:48:12 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
case $host_cpu in
|
|
|
|
- powerpc)
|
|
|
|
+ powerpc*)
|
|
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
|
|
|
|
+ HOST_CPU=$host_cpu;;
|
|
|
|
+ ppc*)
|
|
|
|
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
|
|
|
|
HOST_CPU=$host_cpu;;
|
|
|
|
sparc*)
|
|
|
|
diff --git a/src/native/unix/support/config.sub b/src/native/unix/support/config.sub
|
2011-07-20 09:18:00 +00:00
|
|
|
index 93a3a14..449f3b1 100644
|
2010-06-08 07:48:12 +00:00
|
|
|
--- a/src/native/unix/support/config.sub
|
|
|
|
+++ b/src/native/unix/support/config.sub
|
|
|
|
@@ -225,7 +225,7 @@ case $basic_machine in
|
|
|
|
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
|
|
|
|
| alphaev6[78] \
|
|
|
|
| we32k | ns16k | clipper | i370 | sh | sh[34] \
|
|
|
|
- | powerpc | powerpcle \
|
|
|
|
+ | powerpc | powerpc64 | powerpcle \
|
|
|
|
| 1750a | dsp16xx | pdp10 | pdp11 \
|
|
|
|
| mips16 | mips64 | mipsel | mips64el \
|
|
|
|
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
|
|
|
@@ -272,7 +272,8 @@ case $basic_machine in
|
|
|
|
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
|
|
|
| clipper-* | orion-* \
|
|
|
|
| sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
|
|
|
|
- | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
|
|
|
|
+ | powerpc-* | powerpc64-* | powerpcle-* \
|
|
|
|
+ | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
|
|
|
|
| mips16-* | mips64-* | mipsel-* \
|
|
|
|
| mips64el-* | mips64orion-* | mips64orionel-* \
|
|
|
|
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
|
|
|
@@ -718,9 +719,14 @@ case $basic_machine in
|
|
|
|
power) basic_machine=power-ibm
|
|
|
|
;;
|
|
|
|
ppc) basic_machine=powerpc-unknown
|
|
|
|
- ;;
|
|
|
|
+ ;;
|
|
|
|
+ ppc64) basic_machine=powerpc64-unknown
|
|
|
|
+ ;;
|
|
|
|
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
|
;;
|
|
|
|
+ ppc64-*)
|
|
|
|
+ basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
|
+ ;;
|
|
|
|
ppcle | powerpclittle | ppc-le | powerpc-little)
|
|
|
|
basic_machine=powerpcle-unknown
|
|
|
|
;;
|
|
|
|
--
|
2011-07-20 09:18:00 +00:00
|
|
|
1.7.6
|
2010-06-08 07:48:12 +00:00
|
|
|
|