require gcc4 for the inline limit stuff (doesn't work in certain 3.4 versions)

This commit is contained in:
Bill Currie 2007-03-24 11:43:08 +00:00 committed by Jeff Teunissen
parent 932c9e7330
commit 8871765491

View file

@ -1507,7 +1507,9 @@ if test "x$optimize" = xyes; then
saved_cflags="$CFLAGS"
CFLAGS=""
QF_CC_OPTION(-frename-registers)
if test "$CC_MAJ" -ge 4; then
QF_CC_OPTION(-finline-limit=32000 -Winline)
fi
heavy="-O2 $CFLAGS -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations"
CFLAGS="$saved_cflags"
light="-O2"