Update PCK embedding SCons warning message to mention mold linker

mold is now part of the SCons `linker` option.

(cherry picked from commit 074d87d718)
This commit is contained in:
Hugo Locurcio 2023-02-13 10:55:23 +01:00 committed by Rémi Verschelde
parent 6d1bf81e01
commit 8a5fb8c69b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -424,7 +424,7 @@ def configure(env):
gnu_ld_version = re.search("^GNU ld [^$]*(\d+\.\d+)$", linker_version_str, re.MULTILINE)
if not gnu_ld_version:
print(
"Warning: Creating template binaries enabled for PCK embedding is currently only supported with GNU ld, not gold or LLD."
"Warning: Creating export template binaries enabled for PCK embedding is currently only supported with GNU ld, not gold, LLD or mold."
)
else:
if float(gnu_ld_version.group(1)) >= 2.30: