summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthew LeGendre <legendre1@llnl.gov>2016-10-21 16:25:12 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-10-21 16:25:12 -0700
commit859d296105cbb51b6ae47baa64e4aaf7e8d0af6c (patch)
treee49c107984d0f74f93e5e4532cd3597f1b71600f /lib
parent6464d6682cf5e3e593346ff5cd690af4e10123f1 (diff)
downloadspack-859d296105cbb51b6ae47baa64e4aaf7e8d0af6c.tar.gz
spack-859d296105cbb51b6ae47baa64e4aaf7e8d0af6c.tar.bz2
spack-859d296105cbb51b6ae47baa64e4aaf7e8d0af6c.tar.xz
spack-859d296105cbb51b6ae47baa64e4aaf7e8d0af6c.zip
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
Diffstat (limited to 'lib')
-rwxr-xr-xlib/spack/env/cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 60e24979c8..84a17abf20 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -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.