]> git.sesse.net Git - ffmpeg/commitdiff
Do not suggest to use gas-preprocessor if using it would break compilation.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 2 Aug 2013 21:23:58 +0000 (23:23 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 2 Aug 2013 21:23:58 +0000 (23:23 +0200)
gas-preprocessor does not work on ppc with pic and on ppc64.

configure

index e215a2aa16d0a3151aa523f0b0f27d61fd44123a..f1ba054a03962e4b77ef46e94878d0de206a8576 100755 (executable)
--- a/configure
+++ b/configure
@@ -3865,7 +3865,9 @@ elif enabled ppc; then
 
     # AltiVec flags: The FSF version of GCC differs from the Apple version
     if enabled altivec; then
-        nogas=warn
+        if ! enabled_any pic ppc64; then
+            nogas=warn
+        fi
         check_cflags -maltivec -mabi=altivec &&
         { check_header altivec.h && inc_altivec_h="#include <altivec.h>" ; } ||
         check_cflags -faltivec