Commit a001db2e authored by Rong Yan's avatar Rong Yan Committed by Michael Niedermayer

configure: fix bug to ensure that HAVE_VSX is only enabled when HAVE_ALTIVEC...

configure: fix bug to ensure that HAVE_VSX is only enabled when HAVE_ALTIVEC is enabled and in LE environment
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f31445a8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment