mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
require gcc4 for the inline limit stuff (doesn't work in certain 3.4 versions)
This commit is contained in:
parent
932c9e7330
commit
8871765491
1 changed files with 3 additions and 1 deletions
|
@ -1507,7 +1507,9 @@ if test "x$optimize" = xyes; then
|
|||
saved_cflags="$CFLAGS"
|
||||
CFLAGS=""
|
||||
QF_CC_OPTION(-frename-registers)
|
||||
QF_CC_OPTION(-finline-limit=32000 -Winline)
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue