From 313f9fbfbb5a45eefe4bfe7b04e6c83f9b5f77c7 Mon Sep 17 00:00:00 2001 From: Sean McGovern Date: Fri, 27 Apr 2012 14:47:58 +0100 Subject: [PATCH] configure: add POWER[5-7] support Also merge POWER3 and POWER4 configuration together with the additions. Signed-off-by: Mans Rullgard --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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