mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
get -Wsign-compare check into the right place
This commit is contained in:
parent
5ee4ec8421
commit
d1bef3bf8c
1 changed files with 1 additions and 1 deletions
|
@ -1413,7 +1413,6 @@ if test "x$optimize" = xyes; then
|
|||
CFLAGS=""
|
||||
QF_CC_OPTION(-frename-registers)
|
||||
QF_CC_OPTION(-finline-limit=32000 -Winline)
|
||||
QF_CC_OPTION(-Wsign-compare)
|
||||
heavy="-O2 $CFLAGS -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations"
|
||||
CFLAGS="$saved_cflags"
|
||||
light="-O2"
|
||||
|
@ -1528,6 +1527,7 @@ fi
|
|||
if test "x$check_pipe" = xyes; then
|
||||
QF_CC_OPTION(-pipe)
|
||||
fi
|
||||
QF_CC_OPTION(-Wsign-compare)
|
||||
|
||||
dnl QuakeForge uses lots of BCPL-style (//) comments, which can cause problems
|
||||
dnl with many compilers that don't support the latest ISO standards. Well,
|
||||
|
|
Loading…
Reference in a new issue