Fixed passing of dependence prefixes to cc. libdwarf works.
This commit is contained in:
		
							
								
								
									
										3
									
								
								lib/spack/env/cc
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								lib/spack/env/cc
									
									
									
									
										vendored
									
									
								
							@@ -73,7 +73,8 @@ for var in ["LD_LIBRARY_PATH", "LD_RUN_PATH", "DYLD_LIBRARY_PATH"]:
 | 
			
		||||
        os.environ.pop(var)
 | 
			
		||||
 | 
			
		||||
if spack_debug:
 | 
			
		||||
    print "{}==>{}: {} {}".format(green, reset, cmd, " ".join(arguments))
 | 
			
		||||
    sys.stderr.write("{}==>{} {} {}\n".format(
 | 
			
		||||
            green, reset, command, " ".join(arguments)))
 | 
			
		||||
 | 
			
		||||
rcode = subprocess.call([command] + arguments)
 | 
			
		||||
sys.exit(rcode)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user