Skip to content

Commit fafc073

Browse files
authored
Merge pull request #100577 from bruvzg/win_llvm_fix
[Windows, LLVM] Fix `colorize` flag.
2 parents 024efda + a030053 commit fafc073

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)