mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 23:30:18 +00:00
Make the clang test actually work
This commit is contained in:
parent
eb86ebabfc
commit
7a1e639ca2
@ -419,7 +419,7 @@ for env in [test_env, client_env, env]:
|
|||||||
env["OPT_FLAGS"] = "-O2"
|
env["OPT_FLAGS"] = "-O2"
|
||||||
env["DEBUG_FLAGS"] = Split("-O0 -DDEBUG -ggdb3")
|
env["DEBUG_FLAGS"] = Split("-O0 -DDEBUG -ggdb3")
|
||||||
|
|
||||||
if "clang" in env["TOOLS"]:
|
if "clang" in env["CXX"]:
|
||||||
env.AppendUnique(CCFLAGS = "-Wno-unknown-warning-option")
|
env.AppendUnique(CCFLAGS = "-Wno-unknown-warning-option")
|
||||||
|
|
||||||
if "suncc" in env["TOOLS"]:
|
if "suncc" in env["TOOLS"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user