Merge pull request #101249 from Repiteo/scons/color-refactor

SCons: Refactor color output implementation
This commit is contained in:
Rémi Verschelde 2025-01-08 15:53:29 +01:00
commit cc3a32b67e
11 changed files with 211 additions and 304 deletions

View file

@ -812,9 +812,6 @@ 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._can_color:
env.Append(CCFLAGS=["$(-fansi-escape-codes$)", "$(-fcolor-diagnostics$)"])
if get_is_ar_thin_supported(env):
env.Append(ARFLAGS=["--thin"])