summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-12-09 10:29:39 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-12-22 14:25:10 (GMT)
commit1e9c6a067865b73378af0dd252353efc84efb9b9 (patch)
tree8e942a0290c275ff672cf2e2723caacb709d9a7b /BuildTools
parentf572ff58428c8ce6b5babb60f0ea6999d0be29d7 (diff)
downloadswift-swift-3.0alpha.zip
swift-swift-3.0alpha.tar.bz2
Pass TERM variable through environment.swift-3.0alpha
This enables colored output for some tools (e.g. CLang) Change-Id: If12b4f9a1b38b7d00e8e08a80592f9353aaa023b
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConscript.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index 361004f..56a3dd1 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -68,6 +68,7 @@ vars.Add(BoolVariable("set_iterator_debug_level", "Set _ITERATOR_DEBUG_LEVEL=0",
env_ENV = {
'PATH' : os.environ['PATH'],
'LD_LIBRARY_PATH' : os.environ.get("LD_LIBRARY_PATH", ""),
+ 'TERM' : os.environ.get("TERM", ""),
}
if "MSVC_VERSION" in ARGUMENTS :
env = Environment(ENV = env_ENV, variables = vars, MSVC_VERSION = ARGUMENTS["MSVC_VERSION"])