cmake: add /FORCE:MULTIPLE to handle fabsl being defined in compiler_rt as well as libcmpt

This commit is contained in:
kcbanner 2022-12-28 02:11:12 -05:00
parent bd252c58bc
commit 88e442253b

View File

@ -733,7 +733,7 @@ if(MSVC)
set(ZIG_WASM2C_COMPILE_FLAGS "")
set(ZIG1_COMPILE_FLAGS "/Os")
set(ZIG2_COMPILE_FLAGS "/Od")
set(ZIG2_LINK_FLAGS "/STACK:16777216")
set(ZIG2_LINK_FLAGS "/STACK:16777216 /FORCE:MULTIPLE")
else()
set(ZIG_WASM2C_COMPILE_FLAGS "-std=c99 -O2")
set(ZIG1_COMPILE_FLAGS "-std=c99 -Os")