Lists of lists in CPPDEFINES don't work in newer scons versions
This commit is contained in:
parent
b141ad900b
commit
3247d4f0a2
1 changed files with 1 additions and 4 deletions
|
@ -107,10 +107,7 @@ libwesnoth_client = client_env.Library("wesnoth-client", wesnoth_client_sources)
|
|||
#---lua---
|
||||
lua_sources = GetSources("lua")
|
||||
|
||||
env_lua = env.Clone(
|
||||
CCCOM = env["CXXCOM"],
|
||||
CPPPATH = ["$CPPPATH", Dir(".").srcnode()],
|
||||
CPPDEFINES = ["$CPPDEFINES", env["PLATFORM"] != "win32" and "LUA_USE_POSIX" or []])
|
||||
env_lua = env.Clone(CPPPATH = ["$CPPPATH", Dir(".").srcnode()], CPPDEFINES = ["$CPPDEFINES", env["PLATFORM"] != "win32" and "LUA_USE_POSIX" or None])
|
||||
|
||||
env_lua.AppendUnique(CCFLAGS = Split("-Wno-old-style-cast -Wno-useless-cast -Wno-stringop-overflow"))
|
||||
# Silence some Clang-specific warnings due to extra parentheses in if statements when comparing.
|
||||
|
|
Loading…
Add table
Reference in a new issue