mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 05:55:07 +00:00
configure: only disable VSX for !ppc64el
This reverts commit04f0002
, which made it impossible to enable VSX with a generic cpu. This changes the behavior back to what it was before commitb0af404
. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
324cf0645d
commit
45babb0121
6
configure
vendored
6
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user