Do not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
authorİsmail Dönmez <ismail@namtrac.org>
Sat, 1 Mar 2008 11:56:09 +0000 (11:56 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 1 Mar 2008 11:56:09 +0000 (11:56 +0000)
patch by İsmail Dönmez, ismail namtrac org

Originally committed as revision 12285 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 74876f0..1408c84 100755 (executable)
--- a/configure
+++ b/configure
@@ -1394,7 +1394,7 @@ if test $targetos = darwin; then
     if test -n "`$cc -v 2>&1 | grep xlc`"; then
         add_cflags "-qpdf2 -qlanglvl=extc99 -qmaxmem=-1 -qarch=auto -qtune=auto"
     else
-        add_cflags "-no-cpp-precomp -pipe"
+        add_cflags "-pipe"
         check_cflags "-force_cpusubtype_ALL"
         check_cflags "-Wno-sign-compare"
         disabled shared && add_cflags -mdynamic-no-pic