From b3476006e77bc9dac76d3c297c4614bf1301bcf0 Mon Sep 17 00:00:00 2001 From: italo Date: Wed, 3 Apr 2019 15:17:52 -0400 Subject: [PATCH] add SEPARATE_ASM_MODULE_NAME --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aac2fe0..c745bdc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,6 +163,7 @@ set( -s AGGRESSIVE_VARIABLE_ELIMINATION=1 \ -s ALLOW_MEMORY_GROWTH=0 \ --memory-init-file 0 \ +-s SEPARATE_ASM_MODULE_NAME=asmjs \ " # --memory-init-file is explicitly set to 0 because optimization level is Oz, and some clients like React Native have trouble loading .mem files # .... it also didn't seem to have a giant impact on perf. but this should be tested again