Don't clear LD_LIBRARY_PATH and friends from compiler wrappers (#2074)
* Don't clear LD_LIBRARY_PATH and friends from compiler wrappers * remove debugging print
This commit is contained in:
parent
6464d6682c
commit
859d296105
1 changed files with 0 additions and 7 deletions
7
lib/spack/env/cc
vendored
7
lib/spack/env/cc
vendored
|
@ -317,13 +317,6 @@ case "$mode" in
|
|||
args=("${args[@]}" ${SPACK_LDLIBS[@]}) ;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Unset pesky environment variables that could affect build sanity.
|
||||
#
|
||||
unset LD_LIBRARY_PATH
|
||||
unset LD_RUN_PATH
|
||||
unset DYLD_LIBRARY_PATH
|
||||
|
||||
full_command=("$command" "${args[@]}")
|
||||
|
||||
# In test command mode, write out full command for Spack tests.
|
||||
|
|
Loading…
Reference in a new issue