build: Enable color diagnostics in clang by preserving TERM.
This commit is contained in:
parent
cc42e87b85
commit
c2553745c9
1 changed files with 3 additions and 1 deletions
|
@ -190,9 +190,11 @@ termcap = get_termcap(GetOption('use_colors'))
|
||||||
# Set up the main build environment.
|
# 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',
|
use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH',
|
||||||
'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PYTHONPATH',
|
'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PYTHONPATH',
|
||||||
'RANLIB', 'SWIG' ])
|
'RANLIB', 'SWIG', 'TERM' ])
|
||||||
|
|
||||||
use_prefixes = [
|
use_prefixes = [
|
||||||
"M5", # M5 configuration (e.g., path to kernels)
|
"M5", # M5 configuration (e.g., path to kernels)
|
||||||
|
|
Loading…
Reference in a new issue