mirror of
https://github.com/ziglang/zig.git
synced 2025-01-05 18:00:25 +00:00
cmake: add /FORCE:MULTIPLE to handle fabsl being defined in compiler_rt as well as libcmpt
This commit is contained in:
parent
bd252c58bc
commit
88e442253b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user