summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2012-04-27 14:47:58 +0100
committerMans Rullgard <mans@mansr.com>2012-05-04 13:54:03 +0100
commit313f9fbfbb5a45eefe4bfe7b04e6c83f9b5f77c7 (patch)
tree4698c4e9acee0b4ffc2640359789c1d3dd99570f /configure
parentc02efacc8fd7b3758bf362712019decc907bb8e9 (diff)
configure: add POWER[5-7] support
Also merge POWER3 and POWER4 configuration together with the additions. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index fd72f1e8a6..b571a94eb5 100755
--- a/configure
+++ b/configure
@@ -2279,9 +2279,12 @@ elif enabled ppc; then
74*|ppc74*|powerpc74*)
cpuflags="-mcpu=7400 -mpowerpc-gfxopt"
;;
- g5|970|ppc970|powerpc970|power4*)
+ g5|970|ppc970|powerpc970)
cpuflags="-mcpu=970 -mpowerpc-gfxopt -mpowerpc64"
;;
+ power[3-7]*)
+ cpuflags="-mcpu=$cpu -mpowerpc-gfxopt -mpowerpc64"
+ ;;
cell)
cpuflags="-mcpu=cell"
enable ldbrx