changeset 23475:2f9eb2c35d01

Fix r23494: It broke gcc 2.95.3
author cehoyos
date Thu, 07 Jun 2007 17:10:37 +0000
parents 77358493cd6b
children cf92211a1565
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jun 07 16:36:55 2007 +0000
+++ b/configure	Thu Jun 07 17:10:37 2007 +0000
@@ -2251,7 +2251,7 @@
   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 @@
 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