toolchain-funcs.eclass: improve td-ld-disable-gold deprecation

We don't want to start forcing bfd everywhere if in practice it has
worked with everything except gold until now (lld, mold). May be because
of gold bugs or just issues which got fixed in the meantime from gold's
heyday.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-04-22 08:00:36 +01:00
parent 990b8d474a
commit e06f3f6479
+1 -1
View File
@@ -602,7 +602,7 @@ tc-ld-is-mold() {
# @FUNCTION: tc-ld-disable-gold
# @USAGE: [toolchain prefix]
# @DEPRECATED: tc-ld-force-bfd
# @DEPRECATED: tc-ld-force-bfd or drop entirely if works with everything but gold
# @DESCRIPTION:
# If the gold linker is currently selected, configure the compilation
# settings so that we use the older bfd linker instead.