[MPlayer-cvslog] r23503 - trunk/configure

cehoyos subversion at mplayerhq.hu
Fri Jun 8 01:59:23 CEST 2007


Author: cehoyos
Date: Fri Jun  8 01:59:23 2007
New Revision: 23503

Log:
Add -Wpointer-arith, -Wredundant-decls and -Wdisabled-optimization to CFLAGS.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Fri Jun  8 01:59:23 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-switch -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
+    CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
   fi
 else
   _warn_CFLAGS=yes
@@ -7398,6 +7398,7 @@ if cc_check -Wdeclaration-after-statemen
   CFLAGS="-Wdeclaration-after-statement $CFLAGS"
 fi
 cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
+cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $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