Skip to content

Commit b803f32

Browse files
committed
cmake: add /FORCE:MULTIPLE to handle fabsl being defined in compiler_rt as well as libcmpt
1 parent a106d9b commit b803f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ if(MSVC)
739739
set(ZIG_WASM2C_COMPILE_FLAGS "")
740740
set(ZIG1_COMPILE_FLAGS "/Os")
741741
set(ZIG2_COMPILE_FLAGS "/Od")
742-
set(ZIG2_LINK_FLAGS "/STACK:16777216")
742+
set(ZIG2_LINK_FLAGS "/STACK:16777216 /FORCE:MULTIPLE")
743743
else()
744744
set(ZIG_WASM2C_COMPILE_FLAGS "-std=c99 -O2")
745745
set(ZIG1_COMPILE_FLAGS "-std=c99 -Os")

0 commit comments

Comments
 (0)