From 3cbb5d00c21d5a39cae5c41d9bddedc4328d6c32 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 18 Sep 2025 10:20:12 -0700 Subject: [PATCH] AI added two flags, one of which is dubious... --- build.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.zig b/build.zig index db52519..d170dee 100644 --- a/build.zig +++ b/build.zig @@ -73,6 +73,10 @@ pub fn build(b: *std.Build) void { "word-file.c", "www-parse.c", }, + .flags = &.{ + "-O2", + "-fwrapv", + }, }); // This creates a module, which represents a collection of source files alongside // some compilation options, such as optimization mode and linked system libraries.