diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-22 13:04:41 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-22 13:21:56 +0200 |
commit | 63544e6b02e42935b9f23ade6ff14a6731abe72d (patch) | |
tree | 71df0da0c4590d74d7d88f385d29009805b20425 | |
parent | 16288cabc0fa959f4f23d7861708ad751b2c6736 (diff) |
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.
-rw-r--r-- | platform/javascript/detect.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 10680ad1f5..ac43392700 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -128,7 +128,6 @@ def configure(env): ## Link flags env.Append(LINKFLAGS=['-s', 'BINARYEN=1']) - env.Append(LINKFLAGS=['-s', 'BINARYEN_TRAP_MODE=\'clamp\'']) # Allow increasing memory buffer size during runtime. This is efficient # when using WebAssembly (in comparison to asm.js) and works well for |