Skip to content

Commit 066811e

Browse files
authored
gh-153313: Work around string decoding bug in emcc 6.0.2 (gh-153698)
1 parent 1706d14 commit 066811e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

configure

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,6 +2410,8 @@ AS_CASE([$ac_sys_system],
24102410
AS_VAR_APPEND([LINKFORSHARED], [" -sSTACK_SIZE=5MB"])
24112411
dnl Avoid bugs in JS fallback string decoding path
24122412
AS_VAR_APPEND([LINKFORSHARED], [" -sTEXTDECODER=2"])
2413+
dnl workaround for emscripten#27241, can remove when we update to emscripten 6.0.3
2414+
AS_VAR_APPEND([LINKFORSHARED], [" -sGROWABLE_ARRAYBUFFERS=0"])
24132415
24142416
AS_VAR_IF([enable_wasm_dynamic_linking], [yes], [
24152417
AS_VAR_APPEND([LINKFORSHARED], [" -sMAIN_MODULE"])

0 commit comments

Comments
 (0)