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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue