aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 013155072..0c2eac24e 100644
--- a/build.zig
+++ b/build.zig
@@ -360,7 +360,7 @@ pub fn build(b: *std.build.Builder) !void {
);
if (is_baseline) {
- obj.target.cpu_model = .{ .explicit = &std.Target.x86.cpu.westmere };
+ obj.target.cpu_model = .{ .explicit = &std.Target.x86.cpu.x86_64_v2 };
} else if (arch.isX86()) {
obj.target.cpu_model = .{ .explicit = &std.Target.x86.cpu.haswell };
} else if (arch.isAARCH64() and target.isDarwin()) {
@@ -392,7 +392,7 @@ pub fn build(b: *std.build.Builder) !void {
obj.strip = false;
obj.bundle_compiler_rt = true;
- obj.omit_frame_pointer = mode == .Debug;
+ obj.omit_frame_pointer = mode != .Debug;
b.default_step.dependOn(&obj.step);