mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
cmake: /std:c99 isn't a valid cl option
This commit is contained in:
parent
2c73bb9a05
commit
701996083a
@ -731,8 +731,8 @@ set(HOST_TARGET_TRIPLE "${HOST_TARGET_ARCH}-${HOST_TARGET_OS}")
|
||||
|
||||
if(MSVC)
|
||||
set(ZIG_WASM2C_COMPILE_FLAGS "")
|
||||
set(ZIG1_COMPILE_FLAGS "/std:c99 /Os")
|
||||
set(ZIG2_COMPILE_FLAGS "/std:c99 /O0")
|
||||
set(ZIG1_COMPILE_FLAGS "/Os")
|
||||
set(ZIG2_COMPILE_FLAGS "/O0")
|
||||
set(ZIG2_LINK_FLAGS "/STACK:16777216")
|
||||
else()
|
||||
set(ZIG_WASM2C_COMPILE_FLAGS "-std=c99 -O2")
|
||||
|
Loading…
Reference in New Issue
Block a user