diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-11-25 14:20:58 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-12-12 10:57:27 -0800 |
commit | 47dfe34c8517747d51ef063474e3594c487fde82 (patch) | |
tree | 5f17ce21d886962533f48ffce024d451ccbb8ae7 /run_unittests.py | |
parent | 87766b37276164eaf359c9e99522dcd6a53be180 (diff) | |
download | meson-47dfe34c8517747d51ef063474e3594c487fde82.zip meson-47dfe34c8517747d51ef063474e3594c487fde82.tar.gz meson-47dfe34c8517747d51ef063474e3594c487fde82.tar.bz2 |
Consider compiler arguments in linker detection logic
If a user passes -fuse-ld=gold to gcc or clang, they expect that they'll
get ld.gold, not whatever the default is. Meson currently doesn't do
that, because it doesn't pass these arguments to the linker detection
logic. This patch fixes that. Another case that this is needed is with
clang's --target option
This is a bad solution, honestly, and it would be better to use $LD or a
cross/native file but this is needed for backwards compatability.
Fixes #6057
Diffstat (limited to 'run_unittests.py')
0 files changed, 0 insertions, 0 deletions