# HG changeset patch # User cehoyos # Date 1181236237 0 # Node ID 2f9eb2c35d012310be6253534f25b548f8315044 # Parent 77358493cd6b7f2509ada9699f70f38e3a367051 Fix r23494: It broke gcc 2.95.3 diff -r 77358493cd6b -r 2f9eb2c35d01 configure --- 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