diff --git a/build.zig b/build.zig index 65bdedcc..caaa7bcf 100644 --- a/build.zig +++ b/build.zig @@ -199,6 +199,8 @@ pub fn build(b: *std.build.Builder) !void { exe.setTarget(target); exe.setBuildMode(mode); exe.linkLibC(); + exe.want_lto = false; + exe.strip = true; exe.linkLibrary(static); exe.addIncludePath("src/libsodium/include"); exe.addIncludePath("test/quirks");