[FFmpeg-devel] [PATCH] configure: enable VSX for ppc64el

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri Jun 12 20:40:28 CEST 2015


Together with commit 04f0002 this changes the behavior back to what it
was was before commit b0af404.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index 0c907ff..3a6af6e 100755
--- a/configure
+++ b/configure
@@ -4610,6 +4610,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 && enabled altivec; then
+    enable vsx
+fi
 
 check_gas() {
     log "check_gas using '$as' as AS"
-- 
2.1.4


More information about the ffmpeg-devel mailing list