mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r24431) -Fix: some old compilers didn't like some flag that isn't really needed anyway
This commit is contained in:
parent
cdb61828d3
commit
4dfe9379a0
@ -1303,7 +1303,7 @@ make_compiler_cflags() {
|
||||
flags="$flags -Wall -Wno-multichar -Wsign-compare -Wundef"
|
||||
flags="$flags -Wwrite-strings -Wpointer-arith"
|
||||
flags="$flags -W -Wno-unused-parameter -Wredundant-decls"
|
||||
flags="$flags -Wformat=2 -Wformat-security -Werror=format-security"
|
||||
flags="$flags -Wformat=2 -Wformat-security"
|
||||
|
||||
if [ $enable_assert -eq 0 ]; then
|
||||
# Do not warn about unused variables when building without asserts
|
||||
|
Loading…
Reference in New Issue
Block a user