mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 10:51:11 +00:00
scons: Fix compiler switch typo
Accidentally introduced in 2483fc80e4a57f7cdc0ff9fbeaed08d85699d0d6, oops. Didn't become evident unless hitting other compiler errors, though.
This commit is contained in:
parent
b44728c77e
commit
3a925c85e3
@ -512,7 +512,7 @@ for env in [test_env, campaignd_env, client_env, env]:
|
||||
env.AppendUnique(CXXFLAGS = ["-fopenmp"], LIBS = ["gomp"])
|
||||
|
||||
if env['strict']:
|
||||
env.AppendUnique(CCFLAGS = Split("-Werror $(-Wno-unsused-local-typedefs$)"))
|
||||
env.AppendUnique(CCFLAGS = Split("-Werror $(-Wno-unused-local-typedefs$)"))
|
||||
env.AppendUnique(CXXFLAGS = Split("-Wold-style-cast"))
|
||||
if env['sanitize']:
|
||||
env.AppendUnique(CCFLAGS = ["-fsanitize=" + env["sanitize"]], LINKFLAGS = ["-fsanitize=" + env["sanitize"]])
|
||||
|
Loading…
x
Reference in New Issue
Block a user