Fixed passing of dependence prefixes to cc. libdwarf works.

This commit is contained in:
Todd Gamblin
2013-02-19 19:26:54 -08:00
parent d534c539d4
commit 48b0351945
4 changed files with 59 additions and 21 deletions

3
lib/spack/env/cc vendored
View File

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