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:
		
				
					committed by
					
						
						Todd Gamblin
					
				
			
			
				
	
			
			
			
						parent
						
							6464d6682c
						
					
				
				
					commit
					859d296105
				
			
							
								
								
									
										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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user