diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-25 03:10:41 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-08-25 03:10:41 -0700 |
| commit | 3a7ea0b65e4edb3e13218023eb667792ab2d0d51 (patch) | |
| tree | dd968bb9858a94003678975f81a31fbe8c29e5b3 /src/glibc.zig | |
| parent | 7453f56e678c80928ababa2868c69cfe41647fed (diff) | |
| download | zig-3a7ea0b65e4edb3e13218023eb667792ab2d0d51.tar.gz zig-3a7ea0b65e4edb3e13218023eb667792ab2d0d51.zip | |
fix order of CLI args passed to clang
Commit eb3f7d2f37cab1d3df7c4493b8239e802b83e521 changed the order of CLI
args passed to clang, making object-specific "extra flags" passed first.
However, these are supposed to be able to override other flags, and this
behavior is exploited by workarounds in mingw.zig to disable LTO.
This commit rectifies the situation by moving extra flags back to being
passed after the call to addCCArgs().
Diffstat (limited to 'src/glibc.zig')
0 files changed, 0 insertions, 0 deletions
