Commit 766e1564 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: don't compile ffmpeg with mdynamic-no-pic on PPC-Macs, as this is a...

contribs: don't compile ffmpeg with mdynamic-no-pic on PPC-Macs, as this is a really bad idea. You need PIC in shared libs on this platform.

This slows down the compilation speed by 5%, but that should be fine. Pointed by nobody.loopback on the forum.
parent f509c1c4
...@@ -1089,6 +1089,8 @@ ifdef HAVE_BEOS ...@@ -1089,6 +1089,8 @@ ifdef HAVE_BEOS
endif endif
ifdef HAVE_DARWIN_OS_ON_INTEL ifdef HAVE_DARWIN_OS_ON_INTEL
(cd $@; patch -p0 < ../Patches/ffmpeg-macosx-intel-mmx.patch) (cd $@; patch -p0 < ../Patches/ffmpeg-macosx-intel-mmx.patch)
else
(cd $@; patch -p0 < ../Patches/ffmpeg-darwin-ppc-mdynamic.patch)
endif endif
ifdef HAVE_UCLIBC ifdef HAVE_UCLIBC
patch -p0 < Patches/ffmpeg-svn-uclibc.patch patch -p0 < Patches/ffmpeg-svn-uclibc.patch
......
Index: configure
===================================================================
--- configure (revision 18349)
+++ configure (working copy)
@@ -1758,7 +1758,6 @@
add_cflags -pipe
check_cflags -force_cpusubtype_ALL
check_cflags -Wno-sign-compare
- enabled shared || check_cflags -mdynamic-no-pic
fi
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment