Skip to content

Commit 31bab2e

Browse files
authored
Remove -sSINGLE_FILE and other emscripten link flags (WebAssembly#2577)
1 parent a60eb26 commit 31bab2e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -825,14 +825,11 @@ if (EMSCRIPTEN)
825825

826826
set(LIBWABT_LINK_FLAGS
827827
--post-js ${WABT_POST_JS}
828-
-sSINGLE_FILE
829828
-sEXPORTED_FUNCTIONS=@${EMSCRIPTEN_EXPORTS}
830-
-sRESERVED_FUNCTION_POINTERS=10
831-
-sNO_EXIT_RUNTIME=1
832-
-sALLOW_MEMORY_GROWTH=1
833-
-sMODULARIZE=1
829+
-sALLOW_TABLE_GROWTH
830+
-sALLOW_MEMORY_GROWTH
831+
-sMODULARIZE
834832
-sEXPORT_NAME=WabtModule
835-
-sWASM=0
836833
-sEXPORTED_RUNTIME_METHODS=writeAsciiToMemory
837834
-Oz
838835
)

0 commit comments

Comments
 (0)