mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 15:41:59 +00:00
Disable -Wlogical-op for gcc 4.4 or lower.
It seems to be broken before 4.5.
This commit is contained in:
parent
1219df0872
commit
b812c0e235
1 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,9 @@ if test "x$check_pipe" = xyes; then
|
|||
QF_CC_OPTION(-pipe)
|
||||
fi
|
||||
QF_CC_OPTION(-Wsign-compare)
|
||||
QF_CC_OPTION(-Wlogical-op)
|
||||
if test $CC_MAJ -gt 4 -o $CC_MAJ -eq 4 -a $CC_MIN -ge 5; then
|
||||
QF_CC_OPTION(-Wlogical-op)
|
||||
fi
|
||||
QF_CC_OPTION_TEST([-fvisibility=hidden], [VISIBILITY=-fvisibility=hidden])
|
||||
|
||||
dnl QuakeForge uses lots of BCPL-style (//) comments, which can cause problems
|
||||
|
|
Loading…
Reference in a new issue