diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-10-24 19:43:56 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-10-24 19:43:56 -0400 |
| commit | ad438a95c528c4a2013e3e7fb99ea9a260143eb3 (patch) | |
| tree | 7d4daebb99dd0d1fbc9b324f0416b9bc86008f70 /ci/azure/linux_script | |
| parent | f8bd1cd3b11802d3566d287167d79d3cfc3ef41d (diff) | |
| download | zig-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/azure/linux_script')
0 files changed, 0 insertions, 0 deletions
