diff options
| author | Alexander Potapenko <glider@google.com> | 2023-02-03 19:05:19 +0100 |
|---|---|---|
| committer | Alexander Potapenko <ramosian.glider@gmail.com> | 2023-02-04 10:52:22 +0100 |
| commit | be607b78d7dea8ef5a0267ae7396fded7dc016d5 (patch) | |
| tree | 6a04379094c6c4d2f81cf5d3cb064a8b982a1a66 /executor | |
| parent | 1b2f701aa9a17abb7e27c7c1170d26398febf247 (diff) | |
sys/targets: use non-optional flags to test for optional flags
The behavior of certain flags (in particular link-time ones) may depend
on the target triple and other compiler options, therefore it's
insufficient to test them in the default host configuration.
Collect all non-optional flags and pass them to checkFlagSupported(), so
that support for optional flags is always tested in the presence of the
non-optional ones.
This is going to fix the problem with Clang 15 not supporting
-static-pie on MIPS, but silently passing the checkFlagSupported()
check, because it used to be performed on x86_64.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
