shadowm

Untitled

Jan 25th, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.48 KB | None | 0 0
  1. diff --git a/src/lua/SConscript b/src/lua/SConscript
  2. index 0960351..6711586 100644
  3. --- a/src/lua/SConscript
  4. +++ b/src/lua/SConscript
  5. @@ -36,6 +36,7 @@ loadlib.cpp
  6.  linit.cpp
  7.  """)
  8.  liblua = env.Library("lua", lua_sources,
  9. +    CCFLAGS = [ "$CCFLAGS", "clang" in env["CXX"] and "-Wno-parentheses-equality" or [] ],
  10.      CCCOM = env["CXXCOM"],
  11.      CPPPATH = ["$CPPPATH", Dir(".").srcnode()],
  12.      CPPDEFINES = ["$CPPDEFINES", env["PLATFORM"] != "win32" and "LUA_USE_POSIX" or []])
Advertisement
Add Comment
Please, Sign In to add comment