diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2023-10-16 14:04:12 +0900 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-11-09 14:03:18 +0100 |
commit | 1c6d6b34b112b52566ebde49afef3e6eb747ef90 (patch) | |
tree | bd228d76f89fed4e2fdb7e45159163ffa49e5f66 /libcpp/line-map.cc | |
parent | fd8e5f3c430f37c99ddcc00fcafc1a12b3475a3a (diff) | |
download | gcc-1c6d6b34b112b52566ebde49afef3e6eb747ef90.zip gcc-1c6d6b34b112b52566ebde49afef3e6eb747ef90.tar.gz gcc-1c6d6b34b112b52566ebde49afef3e6eb747ef90.tar.bz2 |
Do not prepend target triple to -fuse-ld=lld,mold.
lld and mold are platform-agnostic and not prefixed with target triple.
Prepending the target triple makes it less likely to find the intended
linker executable.
A potential breaking change is that we no longer try to search for
triple-prefixed lld/mold binaries anymore. However, since there doesn't
seem to be support to build LLVM or mold with triple-prefixed executable
names, it seems better to just not bother with that case.
PR driver/111605
* collect2.cc (main): Do not prepend target triple to
-fuse-ld=lld,mold.
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions