Make the clang test actually work

This commit is contained in:
Alexander van Gessel 2014-01-19 00:28:38 +01:00
parent eb86ebabfc
commit 7a1e639ca2

View file

@ -419,7 +419,7 @@ for env in [test_env, client_env, env]:
env["OPT_FLAGS"] = "-O2"
env["DEBUG_FLAGS"] = Split("-O0 -DDEBUG -ggdb3")
if "clang" in env["TOOLS"]:
if "clang" in env["CXX"]:
env.AppendUnique(CCFLAGS = "-Wno-unknown-warning-option")
if "suncc" in env["TOOLS"]: