aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-09-21 21:06:10 +0200
committerAndrew Kelley <andrew@ziglang.org>2021-09-22 00:46:37 -0400
commit8c86043178a30a75aa9ff58b4432964237fb52dc (patch)
tree353cf610a986a281fd88e02879fdfc18903e308e /src/codegen/c.zig
parent5913140b6bf96e168a0167906a78e2d4aac5bd9d (diff)
downloadzig-8c86043178a30a75aa9ff58b4432964237fb52dc.tar.gz
zig-8c86043178a30a75aa9ff58b4432964237fb52dc.zip
std.build: fix handling of -Dcpu
Currently -Dcpu is completely ignored if -Dtarget isn't passed as well. Further, -Dcpu=baseline is ignored even if -Dtarget=native is passed. This patch fixes these 2 issues, always respecting the -Dcpu option if present.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions