SCons: Fix X11 use_lld fallback not being applied

This commit is contained in:
Rémi Verschelde 2022-07-31 13:49:09 +02:00 committed by Relintai
parent a5381e1c18
commit 44c23ae9a5

View File

@ -151,7 +151,7 @@ def configure(env):
print("Can't specify both `use_lld=yes` and a non-default `linker`. Remove `use_lld=yes`.")
sys.exit(255)
print("The `use_lld=yes` option is deprecated, use `linker=lld` instead.")
env["linker"] == "lld"
env["linker"] = "lld"
if env["linker"] != "default":
print("Using linker program: " + env["linker"])