summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreska <eska@eska.me>2016-11-13 14:10:00 +0100
committereska <eska@eska.me>2016-11-13 15:38:12 +0100
commitd87b1d1338472514e96c3cd8857d050d54a9d1e7 (patch)
tree0f04a3bb4aa6b97eb750a340316155a852e8ede9
parent82addf2ffe18c49d437ee6d425e3470817f0dc85 (diff)
Remove explicit BINARYEN_METHOD for WebAssembly build
This option is the default since Binaryen version 21.
-rw-r--r--platform/javascript/detect.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index 1ee3358888..35352becf8 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -86,7 +86,6 @@ def configure(env):
if env['wasm'] == 'yes':
env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
- env.Append(LINKFLAGS=['-s', '\'BINARYEN_METHOD="native-wasm"\''])
# Maximum memory size is baked into the WebAssembly binary during
# compilation, so we need to enable memory growth to allow setting
# TOTAL_MEMORY at runtime. The value set at runtime must be higher than