CMake: no optimization for zig1.c and zig2.c

This commit is contained in:
Andrew Kelley 2022-11-30 18:04:20 -07:00
parent 906120bc2c
commit ba8d5fc7f8

View File

@ -713,8 +713,8 @@ if(MSVC)
set(ZIG2_COMPILE_FLAGS "/std:c99")
set(ZIG2_LINK_FLAGS "/STACK:16777216")
else()
set(ZIG1_COMPILE_FLAGS "-std=c99 -O1")
set(ZIG2_COMPILE_FLAGS "-std=c99 -O1")
set(ZIG1_COMPILE_FLAGS "-std=c99")
set(ZIG2_COMPILE_FLAGS "-std=c99")
set(ZIG2_LINK_FLAGS "-Wl,-z,stack-size=0x10000000")
endif()