diff options
author | Sam James <sam@gentoo.org> | 2023-07-30 19:36:07 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-30 19:38:17 +0100 |
commit | af86694a988bf16a794191383b4b624d99d4a39f (patch) | |
tree | 569dbbe1133e0ba6f5ce9039cd05503479bdb84e /eclass | |
parent | dev-python/mccabe: Enable py3.12 (diff) | |
download | gentoo-af86694a988bf16a794191383b4b624d99d4a39f.tar.gz gentoo-af86694a988bf16a794191383b4b624d99d4a39f.tar.bz2 gentoo-af86694a988bf16a794191383b4b624d99d4a39f.zip |
toolchain-funcs.eclass: shift comment
It makes a bit more sense (although still a bit suspicious, wonder if should
strip . as well, see c26413ae8029f1557aae95b6f8744fc16671fa3b and bug #911503
where we had 'ld.lld.bd') now with the comment in the right place.
It was added originally for bug #545218 (b959fb6c158d4727e85472b3a50af5af3f719972).
Bug: https://bugs.gentoo.org/545218
Bug: https://bugs.gentoo.org/911503
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 26b7a0772ca6..0eca4dde9f36 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -534,9 +534,9 @@ tc-ld-force-bfd() { ewarn "Forcing usage of the BFD linker" # Set up LD to point directly to bfd if it's available. + local ld=$(tc-getLD "$@") # We need to extract the first word in case there are flags appended # to its value (like multilib), bug #545218. - local ld=$(tc-getLD "$@") local bfd_ld="${ld%% *}.bfd" local path_ld=$(type -P "${bfd_ld}" 2>/dev/null) [[ -e ${path_ld} ]] && export LD=${bfd_ld} |