Skip to content

Commit a030053

Browse files
committed
[Windows, LLVM] Fix colorize flag.
1 parent 46c8f8c commit a030053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/windows/detect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def configure_mingw(env: "SConsEnvironment"):
807807
env.Append(CCFLAGS=san_flags)
808808
env.Append(LINKFLAGS=san_flags)
809809

810-
if env["use_llvm"] and os.name == "nt" and methods._colorize:
810+
if env["use_llvm"] and os.name == "nt" and methods._can_color:
811811
env.Append(CCFLAGS=["$(-fansi-escape-codes$)", "$(-fcolor-diagnostics$)"])
812812

813813
if get_is_ar_thin_supported(env):

0 commit comments

Comments
 (0)