summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-21 04:18:44 +0000
committerSam James <sam@gentoo.org>2024-08-16 18:21:19 +0100
commit20aa5cad2e8e11708e33fb679e760859cf808114 (patch)
treecd3a94847e81a22eba640c283892d109f8d30698 /eclass
parenttoolchain-funcs.eclass: fix tc-ld-force-bfd returning early for unknown linkers (diff)
downloadgentoo-20aa5cad2e8e11708e33fb679e760859cf808114.tar.gz
gentoo-20aa5cad2e8e11708e33fb679e760859cf808114.tar.bz2
gentoo-20aa5cad2e8e11708e33fb679e760859cf808114.zip
toolchain-funcs.eclass: refine tc-ld-force-bfd description
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index da8c24257ae0..61170de616d7 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -595,7 +595,9 @@ tc-ld-disable-gold() {
# @USAGE: [toolchain prefix]
# @DESCRIPTION:
# If a linker other than bfd is currently selected, configure the compilation
-# settings so that we use the bfd linker instead.
+# settings so that we use the bfd linker instead. This function should not
+# be used for simple underlinking problems. This function is intended for use
+# when a package is fragile and/or relies on bfd internals.
tc-ld-force-bfd() {
if tc-ld-is-bfd "$@" ; then
return