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>
This commit is contained in:
parent
f31445a82d
commit
a001db2e2c
2
configure
vendored
2
configure
vendored
@ -4390,7 +4390,7 @@ EOF
|
|||||||
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
||||||
|
|
||||||
if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then
|
if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then
|
||||||
if ! enabled bigendian ;then
|
if ! enabled bigendian && enabled altivec ;then
|
||||||
enable vsx
|
enable vsx
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user