mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r24431) -Fix: some old compilers didn't like some flag that isn't really needed anyway
This commit is contained in:
@@ -1303,7 +1303,7 @@ make_compiler_cflags() {
|
|||||||
flags="$flags -Wall -Wno-multichar -Wsign-compare -Wundef"
|
flags="$flags -Wall -Wno-multichar -Wsign-compare -Wundef"
|
||||||
flags="$flags -Wwrite-strings -Wpointer-arith"
|
flags="$flags -Wwrite-strings -Wpointer-arith"
|
||||||
flags="$flags -W -Wno-unused-parameter -Wredundant-decls"
|
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
|
if [ $enable_assert -eq 0 ]; then
|
||||||
# Do not warn about unused variables when building without asserts
|
# Do not warn about unused variables when building without asserts
|
||||||
|
Reference in New Issue
Block a user