aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-02-21 01:58:40 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-02-21 01:58:40 -0500
commita391a82e4987728e30bf5c27be5631f9d4db530f (patch)
tree3b9467716c2df4be288bd421b01032cdbdbd764a /lib/std
parent7b8b4d200cce5030efb758eb4fc8fade9c3e8402 (diff)
downloadzig-a391a82e4987728e30bf5c27be5631f9d4db530f.tar.gz
zig-a391a82e4987728e30bf5c27be5631f9d4db530f.zip
fix zig build adding invalid cli args
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig
index beb89ab7ce..43cc4a2150 100644
--- a/lib/std/build.zig
+++ b/lib/std/build.zig
@@ -1921,7 +1921,7 @@ pub const LibExeObjStep = struct {
}
} else {
var mcpu_buffer = try std.Buffer.init(builder.allocator, "-mcpu=");
- try zig_args.append(cross.cpu.model.name);
+ try mcpu_buffer.append(cross.cpu.model.name);
for (all_features) |feature, i_usize| {
const i = @intCast(Target.Cpu.Feature.Set.Index, i_usize);