We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36af151 commit 9029534Copy full SHA for 9029534
lib/Interpreter/CMakeLists.txt
@@ -1,6 +1,5 @@
1
if(EMSCRIPTEN)
2
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE)
3
- set(LDFLAGS "-s MODULARIZE=1 -s LINKABLE=1 -s EXPORT_ALL=1 -s WASM=1 -std=c++14 -s SIDE_MODULE=1 -sWASM_BIGINT")
4
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-s SIDE_MODULE=1")
5
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-s SIDE_MODULE=1")
6
set(CMAKE_STRIP FALSE)
@@ -18,6 +17,9 @@ if(EMSCRIPTEN)
18
17
LINK_LIBS
19
clangInterpreter
20
)
+ target_link_options(clangCppInterOp PRIVATE
21
+ PUBLIC "SHELL: -s WASM_BIGINT"
22
+ )
23
else()
24
set(LLVM_LINK_COMPONENTS
25
${LLVM_TARGETS_TO_BUILD}
0 commit comments