From 10e8a25ce75f51e9857f98cf6a240f79dccc48fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 31 Jul 2022 13:49:09 +0200 Subject: [PATCH] SCons: Fix X11 `use_lld` fallback not being applied --- platform/x11/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 1a0077bf29b..98c9ddb00b6 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -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"])