From f79ae390663091e677f24c8ce5b2f6d4c56859c0 Mon Sep 17 00:00:00 2001 From: foxnne Date: Sat, 7 Oct 2023 10:48:28 -0500 Subject: [PATCH] build.zig: Remove c99 flag causing linux build to fail --- src/deps/zip/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deps/zip/build.zig b/src/deps/zip/build.zig index c4e6c2d2..a2f0adb0 100644 --- a/src/deps/zip/build.zig +++ b/src/deps/zip/build.zig @@ -17,7 +17,7 @@ pub fn package(b: *std.Build, _: struct {}) Package { pub fn link(exe: *std.Build.CompileStep) void { exe.linkLibC(); exe.addIncludePath(.{ .path = thisDir() ++ "/src" }); - const c_flags = [_][]const u8{ "-std=c99", "-fno-sanitize=undefined" }; + const c_flags = [_][]const u8{"-fno-sanitize=undefined"}; exe.addCSourceFile(.{ .file = .{ .path = thisDir() ++ "/src/zip.c" }, .flags = &c_flags }); }