[MPlayer-cvslog] r23495 - trunk/configure

cehoyos subversion at mplayerhq.hu
Thu Jun 7 19:10:37 CEST 2007


Author: cehoyos
Date: Thu Jun  7 19:10:37 2007
New Revision: 23495

Log:
Fix r23494: It broke gcc 2.95.3

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Jun  7 19:10:37 2007
@@ -2251,7 +2251,7 @@ elif test -z "$CFLAGS" ; then
   elif test "$cc_vendor" != "gnu" ; then
     CFLAGS="-O2 $_march $_mcpu $_pipe"
   else
-    CFLAGS="-Wall -Wno-pointer-sign -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
+    CFLAGS="-Wall -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
   fi
 else
   _warn_CFLAGS=yes
@@ -7397,6 +7397,7 @@ EOF
 if cc_check -Wdeclaration-after-statement ; then
   CFLAGS="-Wdeclaration-after-statement $CFLAGS"
 fi
+cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
 
 
 #this must be the last test to be performed or the ones following it will likely fail



More information about the MPlayer-cvslog mailing list