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:
Matthew LeGendre 2016-10-21 16:25:12 -07:00 committed by Todd Gamblin
parent 6464d6682c
commit 859d296105

7
lib/spack/env/cc vendored
View file

@ -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.