# HG changeset patch # User cehoyos # Date 1181237003 0 # Node ID cf92211a1565edea74e4def5b09b7a578faf4350 # Parent 2f9eb2c35d012310be6253534f25b548f8315044 Add -Wno-switch to CFLAGS. diff -r 2f9eb2c35d01 -r cf92211a1565 configure --- a/configure Thu Jun 07 17:10:37 2007 +0000 +++ b/configure Thu Jun 07 17:23:23 2007 +0000 @@ -2251,7 +2251,7 @@ elif test "$cc_vendor" != "gnu" ; then CFLAGS="-O2 $_march $_mcpu $_pipe" else - CFLAGS="-Wall -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" + CFLAGS="-Wall -Wno-switch -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" fi else _warn_CFLAGS=yes