[FFmpeg-devel] [PATCH]Fix compilation on darwin ppc64 if gas-preprocessor is installed

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jun 18 15:11:19 CEST 2014


Hi!

Compilation currently fails on darwin ppc64 (and darwin ppc with --enable-pic) 
if gas-preprocessor is installed.
Attached patch fixes this here, better suggestions welcome.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index d1eb8da..a1d1771 100755
--- a/configure
+++ b/configure
@@ -4287,7 +4287,7 @@ EOF
 od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
 
 
-if enabled asm; then
+if enabled asm && [ $target_os != darwin ] || ! enabled ppc || ! enabled_any ppc64 pic ; then
     enabled     arm         && nogas=die
     enabled_all ppc altivec && [ $target_os_default != aix ] && nogas=warn
     as=${gas:=$as}


More information about the ffmpeg-devel mailing list