diff options
author | Stan Czerniawski <stan.czerniawski@arm.com> | 2013-10-17 10:20:45 -0500 |
---|---|---|
committer | Stan Czerniawski <stan.czerniawski@arm.com> | 2013-10-17 10:20:45 -0500 |
commit | c2553745c986c5e89d71fd366fff7fa61b8cbc1e (patch) | |
tree | f42a312b259cbb1746e79b7b122b2b5558f00a48 /SConstruct | |
parent | cc42e87b85cf651b21e77d36fbd7351b23cb86d1 (diff) | |
download | gem5-c2553745c986c5e89d71fd366fff7fa61b8cbc1e.tar.xz |
build: Enable color diagnostics in clang by preserving TERM.
Diffstat (limited to 'SConstruct')
-rwxr-xr-x | SConstruct | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 298433dd5..5b57c1ce6 100755 --- a/SConstruct +++ b/SConstruct @@ -190,9 +190,11 @@ termcap = get_termcap(GetOption('use_colors')) # Set up the main build environment. # ######################################################################## + +# export TERM so that clang reports errors in color use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH', 'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PYTHONPATH', - 'RANLIB', 'SWIG' ]) + 'RANLIB', 'SWIG', 'TERM' ]) use_prefixes = [ "M5", # M5 configuration (e.g., path to kernels) |