zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 9574d6888e82838e618a93cd7c4dd17c2b5b67d6 (tree)
parent 1f7ca6b2dfca66032342c82ec25ae28e6ec02e21
Author: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Date:   Tue, 14 May 2024 19:48:19 +0500

build.zig: sync "exe_cflags" with CMake

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>

Diffstat:
Mbuild.zig | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.zig b/build.zig @@ -650,9 +650,10 @@ const exe_cflags = [_][]const u8{ "-D__STDC_FORMAT_MACROS", "-D__STDC_LIMIT_MACROS", "-D_GNU_SOURCE", - "-fvisibility-inlines-hidden", "-fno-exceptions", "-fno-rtti", + "-fno-stack-protector", + "-fvisibility-inlines-hidden", "-Wno-type-limits", "-Wno-missing-braces", "-Wno-comment",