summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authoreska <eska@eska.me>2017-01-14 00:21:40 +0100
committereska <eska@eska.me>2017-02-20 03:44:37 +0100
commit335fdea581f677fea55d20f0e23b4c7d7c75664b (patch)
tree162a8e4990fddca35aa3298f9c20d1b377e95bca /platform
parentf6950956bdab064cc1e027b93a0ddd0d94dda882 (diff)
Fix parallel asm.js/WebAssembly builds
Diffstat (limited to 'platform')
-rw-r--r--platform/javascript/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index a701823b2e..648880cb45 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -88,7 +88,7 @@ def configure(env):
# what is set during compilation, check TOTAL_MEMORY in Emscripten's
# src/settings.js for the default.
env.Append(LINKFLAGS=['-s', 'ALLOW_MEMORY_GROWTH=1'])
- env["PROGSUFFIX"] += ".webassembly"
+ env.extra_suffix = '.webassembly' + env.extra_suffix
else:
env.Append(CPPFLAGS=['-s', 'ASM_JS=1'])
env.Append(LINKFLAGS=['-s', 'ASM_JS=1'])