Remove explicit BINARYEN_METHOD for WebAssembly build

This option is the default since Binaryen version 21.
This commit is contained in:
eska 2016-11-13 14:10:00 +01:00
parent 82addf2ffe
commit d87b1d1338

View file

@ -86,7 +86,6 @@ def configure(env):
if env['wasm'] == 'yes': if env['wasm'] == 'yes':
env.Append(LINKFLAGS=['-s', 'BINARYEN=1']) env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
env.Append(LINKFLAGS=['-s', '\'BINARYEN_METHOD="native-wasm"\''])
# Maximum memory size is baked into the WebAssembly binary during # Maximum memory size is baked into the WebAssembly binary during
# compilation, so we need to enable memory growth to allow setting # compilation, so we need to enable memory growth to allow setting
# TOTAL_MEMORY at runtime. The value set at runtime must be higher than # TOTAL_MEMORY at runtime. The value set at runtime must be higher than