scons: silence clang-specific "pointer-bool" warning in lua source
This commit is contained in:
parent
88536b42de
commit
d881c7edba
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ linit.cpp
|
|||
""")
|
||||
liblua = env.Library("lua", lua_sources,
|
||||
# Silence some Clang-specific warnings due to extra parentheses in if statements when comparing.
|
||||
CCFLAGS = ["$CCFLAGS", "clang" in env["CXX"] and "-Wno-parentheses-equality" or []],
|
||||
CCFLAGS = ["$CCFLAGS", "clang" in env["CXX"] and Split("-Wno-parentheses-equality -Wno-pointer-bool-conversion") or []],
|
||||
CCCOM = env["CXXCOM"],
|
||||
CPPPATH = ["$CPPPATH", Dir(".").srcnode()],
|
||||
CPPDEFINES = ["$CPPDEFINES", env["PLATFORM"] != "win32" and "LUA_USE_POSIX" or []])
|
||||
|
|
Loading…
Add table
Reference in a new issue