diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-09-21 21:06:10 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-22 00:46:37 -0400 |
| commit | 8c86043178a30a75aa9ff58b4432964237fb52dc (patch) | |
| tree | 353cf610a986a281fd88e02879fdfc18903e308e /src/codegen/c.zig | |
| parent | 5913140b6bf96e168a0167906a78e2d4aac5bd9d (diff) | |
| download | zig-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
