Update PCK embedding SCons warning message to mention mold linker

mold is now part of the SCons `linker` option.
This commit is contained in:
Hugo Locurcio 2023-02-13 10:55:23 +01:00
parent b7723a01d9
commit 074d87d718
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -346,7 +346,7 @@ def configure(env: "Environment"):
gnu_ld_version = re.search("^GNU ld [^$]*(\d+\.\d+)$", linker_version_str, re.MULTILINE) gnu_ld_version = re.search("^GNU ld [^$]*(\d+\.\d+)$", linker_version_str, re.MULTILINE)
if not gnu_ld_version: if not gnu_ld_version:
print( 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: else:
if float(gnu_ld_version.group(1)) >= 2.30: if float(gnu_ld_version.group(1)) >= 2.30: