فهرست منبع

Remove explicit BINARYEN_METHOD for WebAssembly build

This option is the default since Binaryen version 21.
eska 9 سال پیش
والد
کامیت
d87b1d1338
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      platform/javascript/detect.py

+ 0 - 1
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