aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-06-13 13:09:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-18 22:09:01 +0200
commited5041143edb9742860250de9bddc384dbd827cf (patch)
treeb0e5c7e86881d0ac30acf66b69a41aff79650152
parent965f96c5ed445c639377c977934ee3aecf505ca8 (diff)
downloadffmpeg-ed5041143edb9742860250de9bddc384dbd827cf.tar.gz
configure: only disable VSX for !ppc64el
This reverts commit 04f0002, which made it impossible to enable VSX with a generic cpu. This changes the behavior back to what it was before commit b0af404. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 45babb01217f4cf776c50f1bec8ced0065277c89) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 0c907ff805..06a9941695 100755
--- a/configure
+++ b/configure
@@ -4033,9 +4033,6 @@ elif enabled ppc; then
disable altivec
disable dcbzl
;;
- *)
- disable vsx
- ;;
esac
elif enabled sparc; then
@@ -4610,6 +4607,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
+if ! enabled ppc64 || enabled bigendian; then
+ disable vsx
+fi
check_gas() {
log "check_gas using '$as' as AS"