diff options
author | Juan Gu <juan.gu@mongodb.com> | 2022-09-28 20:31:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-28 21:01:35 +0000 |
commit | 5cbe7f207d1abe694708bf729e4808a4a5413e60 (patch) | |
tree | 6975aa81b608d88c9c2fdda0e4845b4b287e08f4 | |
parent | 399f53383e7d753329b8cee64df9aaa734e44ec4 (diff) | |
download | mongo-5cbe7f207d1abe694708bf729e4808a4a5413e60.tar.gz |
SERVER-67682 Enable -fdiagnostics-color by default with ninja for all build types
-rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index a2029692872..1269dacbdc8 100644 --- a/SConstruct +++ b/SConstruct @@ -5299,6 +5299,7 @@ if (get_option('ninja') != "disabled" and ('ICECC' not in env or not env['ICECC' if get_option('ninja') != 'disabled': + env.AppendUnique(CCFLAGS=["-fdiagnostics-color"]) if 'ICECREAM_VERSION' in env and not env.get('CCACHE', None): if env['ICECREAM_VERSION'] < parse_version("1.2"): env.FatalError( |