Fix parallel asm.js/WebAssembly builds

This commit is contained in:
eska 2017-01-14 00:21:40 +01:00
parent f6950956bd
commit 335fdea581
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def configure(env):
# what is set during compilation, check TOTAL_MEMORY in Emscripten's # what is set during compilation, check TOTAL_MEMORY in Emscripten's
# src/settings.js for the default. # src/settings.js for the default.
env.Append(LINKFLAGS=['-s', 'ALLOW_MEMORY_GROWTH=1']) env.Append(LINKFLAGS=['-s', 'ALLOW_MEMORY_GROWTH=1'])
env["PROGSUFFIX"] += ".webassembly" env.extra_suffix = '.webassembly' + env.extra_suffix
else: else:
env.Append(CPPFLAGS=['-s', 'ASM_JS=1']) env.Append(CPPFLAGS=['-s', 'ASM_JS=1'])
env.Append(LINKFLAGS=['-s', 'ASM_JS=1']) env.Append(LINKFLAGS=['-s', 'ASM_JS=1'])