projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc42e87
)
build: Enable color diagnostics in clang by preserving TERM.
author
Stan Czerniawski
<stan.czerniawski@arm.com>
Thu, 17 Oct 2013 15:20:45 +0000
(10:20 -0500)
committer
Stan Czerniawski
<stan.czerniawski@arm.com>
Thu, 17 Oct 2013 15:20:45 +0000
(10:20 -0500)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index 298433dd510d9d129a6c724608da0a931e7ba553..5b57c1ce6b7bd58ebe16fe645d30033009454ad6 100755
(executable)
--- 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)