[Windows, LLVM] Fix colorize flag.

This commit is contained in:
Pāvels Nadtočajevs 2024-12-18 21:00:32 +02:00
parent 46c8f8c5c5
commit a0300532b5

View file

@ -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):