summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_environment.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 82baaee256..918ae02c50 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -173,10 +173,6 @@ def clean_environment():
# Affects GNU make, can e.g. indirectly inhibit enabling parallel build
env.unset('MAKEFLAGS')
- # Could make testsuites attempt to color their output
- env.unset('TERM')
- # Tests of GUI widget libraries might try to connect to an X server
- env.unset('DISPLAY')
# Avoid that libraries of build dependencies get hijacked.
env.unset('LD_PRELOAD')