Fix compilation with Emscripten versions greater than 2.0.8 (#7794) [Sam Clegg]

This commit is contained in:
Justin Kerk 2021-04-16 02:44:16 +00:00
parent 99d72cc92d
commit 6462fb5e00

View File

@ -1009,12 +1009,6 @@ function toolchain(_buildDir, _subDir)
configuration { "asmjs" }
targetdir (_buildDir .. "asmjs" .. "/bin")
objdir (_buildDir .. "asmjs" .. "/obj")
includedirs {
"$(EMSCRIPTEN)/system/include",
"$(EMSCRIPTEN)/system/include/compat",
"$(EMSCRIPTEN)/system/include/libc",
"$(EMSCRIPTEN)/system/lib/libcxxabi/include",
}
buildoptions {
"-Wno-cast-align",
"-Wno-tautological-compare",