summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.