summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 63a7964..3af2642 100644
--- a/build.zig
+++ b/build.zig
@@ -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);