[FFmpeg-cvslog] Do not suggest to use gas-preprocessor if using it would break compilation.

Carl Eugen Hoyos git at videolan.org
Sat Aug 3 00:55:35 CEST 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Aug  2 23:23:58 2013 +0200| [401f6a7126fe26eb486a0d99393485abd2ef5ade] | committer: Carl Eugen Hoyos

Do not suggest to use gas-preprocessor if using it would break compilation.

gas-preprocessor does not work on ppc with pic and on ppc64.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=401f6a7126fe26eb486a0d99393485abd2ef5ade
---

 configure |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index e215a2a..f1ba054 100755
--- 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



More information about the ffmpeg-cvslog mailing list