Skip to content

Commit

Permalink
build.zig: Remove c99 flag causing linux build to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Oct 7, 2023
1 parent 7f83000 commit f79ae39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deps/zip/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down

0 comments on commit f79ae39

Please sign in to comment.