diff options
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,6 +9,8 @@ pub fn build(b: *std.Build) void { .root_source_file = .{ .path = "src/main.zig" }, .target = target, .optimize = optimize, + .strip = optimize != std.builtin.OptimizeMode.Debug, + .single_threaded = true, }); const xcb_dep = b.anonymousDependency("depends/xcb-zig", @import("depends/xcb-zig/build.zig"), .{ @@ -17,9 +19,7 @@ pub fn build(b: *std.Build) void { }); exe.linkLibrary(xcb_dep.artifact("xcb-zig")); - exe.strip = optimize != std.builtin.OptimizeMode.Debug; exe.want_lto = optimize != std.builtin.OptimizeMode.Debug; - exe.single_threaded = true; b.installArtifact(exe); |