diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a4057457..63f971f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -814,15 +814,15 @@ if (EMSCRIPTEN) set(EMSCRIPTEN_EXPORTS ${WABT_SOURCE_DIR}/src/emscripten-exports.txt) set(LIBWABT_LINK_FLAGS - -s SINGLE_FILE --post-js ${WABT_POST_JS} - -s EXPORTED_FUNCTIONS=\"@${EMSCRIPTEN_EXPORTS}\" - -s RESERVED_FUNCTION_POINTERS=10 - -s NO_EXIT_RUNTIME=1 - -s ALLOW_MEMORY_GROWTH=1 - -s MODULARIZE=1 - -s EXPORT_NAME=\"'WabtModule'\" - -s WASM=0 + -sSINGLE_FILE + -sEXPORTED_FUNCTIONS=@${EMSCRIPTEN_EXPORTS} + -sRESERVED_FUNCTION_POINTERS=10 + -sNO_EXIT_RUNTIME=1 + -sALLOW_MEMORY_GROWTH=1 + -sMODULARIZE=1 + -sEXPORT_NAME=WabtModule + -sWASM=0 -Oz ) string(REPLACE ";" " " LIBWABT_LINK_FLAGS_STR "${LIBWABT_LINK_FLAGS}") |