Un-unset TERM and DISPLAY (#26326)
For interactive `spack build-env`'s this is undesired behavior
This commit is contained in:
parent
11278dd55a
commit
9d39a1bf42
@ -173,10 +173,6 @@ def clean_environment():
|
|||||||
|
|
||||||
# Affects GNU make, can e.g. indirectly inhibit enabling parallel build
|
# Affects GNU make, can e.g. indirectly inhibit enabling parallel build
|
||||||
env.unset('MAKEFLAGS')
|
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.
|
# Avoid that libraries of build dependencies get hijacked.
|
||||||
env.unset('LD_PRELOAD')
|
env.unset('LD_PRELOAD')
|
||||||
|
Loading…
Reference in New Issue
Block a user