mirror of https://github.com/OpenTTD/OpenTTD.git
(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