Sfoglia il codice sorgente

Emscripten: Do not define BINARYEN_TRAP_MODE='clamp'

It is not supported in Emscripten's `latest-upstream` LLVM backend,
and doesn't seem necessary in the `latest` backend either.
It was initially added in #22857 to solve a compilation error with the latter.

Part of #30270.
Rémi Verschelde 6 anni fa
parent
commit
63544e6b02
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      platform/javascript/detect.py

+ 0 - 1
platform/javascript/detect.py

@@ -128,7 +128,6 @@ def configure(env):
     ## Link flags
     ## Link flags
 
 
     env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
     env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
-    env.Append(LINKFLAGS=['-s', 'BINARYEN_TRAP_MODE=\'clamp\''])
 
 
     # Allow increasing memory buffer size during runtime. This is efficient
     # Allow increasing memory buffer size during runtime. This is efficient
     # when using WebAssembly (in comparison to asm.js) and works well for
     # when using WebAssembly (in comparison to asm.js) and works well for