summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong Yan <rongyan236@gmail.com>2014-10-13 06:40:30 +0000
committerMichael Niedermayer <michaelni@gmx.at>2014-10-20 19:58:02 +0200
commita001db2e2c2799a0583b61bedefbe4d7234f7286 (patch)
treef4cbcc6e1aa1ec7ab74f4df8021971b388bf7d39
parentf31445a82d6acd0b8fab5a26c04e91645f4854d8 (diff)
configure: fix bug to ensure that HAVE_VSX is only enabled when HAVE_ALTIVEC is enabled and in LE environment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 790a5eb8de..3e181aa4b1 100755
--- a/configure
+++ b/configure
@@ -4390,7 +4390,7 @@ EOF
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then
- if ! enabled bigendian ;then
+ if ! enabled bigendian && enabled altivec ;then
enable vsx
fi
fi