Skip to content

Commit c3006a6

Browse files
authored
Revert troublesome flags
1 parent 8b62073 commit c3006a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if(EMSCRIPTEN)
124124
set_target_properties(clangCppInterOp PROPERTIES
125125
NO_SONAME 1
126126
COMPILE_FLAGS "-s SIDE_MODULE=1"
127-
LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -Wl,--export-all"
127+
LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -s EXPORT_ALL=1"
128128
SUFFIX ".wasm"
129129
)
130130

unittests/CppInterOp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ add_cppinterop_unittest(CppInterOpTests
1616

1717
if(EMSCRIPTEN)
1818
set_target_properties(CppInterOpTests PROPERTIES
19-
LINK_FLAGS "-s MAIN_MODULE=1 -s MODULARIZE=1"
19+
LINK_FLAGS "-s MAIN_MODULE=1"
2020
)
2121
endif()
2222
target_link_libraries(CppInterOpTests
@@ -57,7 +57,7 @@ target_link_libraries(DynamicLibraryManagerTests
5757

5858
if(EMSCRIPTEN)
5959
target_link_options(DynamicLibraryManagerTests PRIVATE
60-
"SHELL: -s MAIN_MODULE=1 -s MODULARIZE=1"
60+
"SHELL: -s MAIN_MODULE=1"
6161
)
6262
endif()
6363

0 commit comments

Comments
 (0)