CMakeLists: memory-init-file=0 (no .mem) option for asmjs builds since some clients like RN have trouble loading them -- this can be re-enabled as an option perhaps by cmake option

pull/63/head
Paul Shapiro 6 years ago
parent 20bf90c7d0
commit fdd92d9658

@ -208,7 +208,9 @@ if (MM_EM_ASMJS)
-s WASM=0 \
-s \"BINARYEN_METHOD='asmjs'\" \
-s ALLOW_MEMORY_GROWTH=0 \
--memory-init-file 0 \
"
# --memory-init-file is explicitly set to 0 because optimization level is Oz, and some clients like React Native have trouble loading .mem files
# --closure 1 \
)
else ()

Loading…
Cancel
Save