From a0300532b53c19a56e0e2cb0fd4757df3034de6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Wed, 18 Dec 2024 21:00:32 +0200 Subject: [PATCH] [Windows, LLVM] Fix `colorize` flag. --- platform/windows/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/detect.py b/platform/windows/detect.py index dbdc560a06b..33b0f77494c 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -807,7 +807,7 @@ def configure_mingw(env: "SConsEnvironment"): env.Append(CCFLAGS=san_flags) env.Append(LINKFLAGS=san_flags) - if env["use_llvm"] and os.name == "nt" and methods._colorize: + if env["use_llvm"] and os.name == "nt" and methods._can_color: env.Append(CCFLAGS=["$(-fansi-escape-codes$)", "$(-fcolor-diagnostics$)"]) if get_is_ar_thin_supported(env):