comparison configure @ 23476:cf92211a1565

Add -Wno-switch to CFLAGS.
author cehoyos
date Thu, 07 Jun 2007 17:23:23 +0000
parents 2f9eb2c35d01
children 37ca31c6a615
comparison
equal deleted inserted replaced
23475:2f9eb2c35d01 23476:cf92211a1565
2249 if test "$cc_vendor" = "intel" ; then 2249 if test "$cc_vendor" = "intel" ; then
2250 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" 2250 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"
2251 elif test "$cc_vendor" != "gnu" ; then 2251 elif test "$cc_vendor" != "gnu" ; then
2252 CFLAGS="-O2 $_march $_mcpu $_pipe" 2252 CFLAGS="-O2 $_march $_mcpu $_pipe"
2253 else 2253 else
2254 CFLAGS="-Wall -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" 2254 CFLAGS="-Wall -Wno-switch -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
2255 fi 2255 fi
2256 else 2256 else
2257 _warn_CFLAGS=yes 2257 _warn_CFLAGS=yes
2258 fi 2258 fi
2259 if test -n "$LDFLAGS" ; then 2259 if test -n "$LDFLAGS" ; then