aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-10-24 19:43:56 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-10-24 19:43:56 -0400
commitad438a95c528c4a2013e3e7fb99ea9a260143eb3 (patch)
tree7d4daebb99dd0d1fbc9b324f0416b9bc86008f70 /ci
parentf8bd1cd3b11802d3566d287167d79d3cfc3ef41d (diff)
downloadzig-ad438a95c528c4a2013e3e7fb99ea9a260143eb3.tar.gz
zig-ad438a95c528c4a2013e3e7fb99ea9a260143eb3.zip
avoid passing -march=native when not supported
Clang does not support -march=native for all targets. Arguably it should always work, but in reality it gives: error: the clang compiler does not support '-march=native' If we move CPU detection logic into Zig itelf, we will not need this, instead we will always pass target features and CPU configuration explicitly. For now, we simply avoid passing the flag when it is known to not be supported.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions