Browse Source

Remove explicit BINARYEN_METHOD for WebAssembly build

This option is the default since Binaryen version 21.
eska 9 years ago
parent
commit
d87b1d1338
1 changed files with 0 additions and 1 deletions
  1. 0 1
      platform/javascript/detect.py

+ 0 - 1
platform/javascript/detect.py

@@ -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