changeset 45a013c50eff in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=45a013c50eff
description:
build: Enable color diagnostics in clang by preserving TERM.
diffstat:
SConstruct | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 7840e90aff6c -r 45a013c50eff SConstruct
--- a/SConstruct Wed Oct 16 18:12:15 2013 +0200
+++ b/SConstruct Thu Oct 17 10:20:45 2013 -0500
@@ -190,9 +190,11 @@
# 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)
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev