mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-16 16:01:21 +00:00
scons: Fix compiler switch typo
Accidentally introduced in 2483fc80e4
,
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…
Reference in New Issue
Block a user