summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-28 15:34:25 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-28 15:34:25 -0700
commita14527ec0619151d6defc909a46aefd2a9378cb7 (patch)
tree512b515af6b81fbb9c6ca9a7740c72f651bec705 /lib
parentd8579a5b80efd8b09e5332a922dee533f2a0a55e (diff)
downloadspack-a14527ec0619151d6defc909a46aefd2a9378cb7.tar.gz
spack-a14527ec0619151d6defc909a46aefd2a9378cb7.tar.bz2
spack-a14527ec0619151d6defc909a46aefd2a9378cb7.tar.xz
spack-a14527ec0619151d6defc909a46aefd2a9378cb7.zip
Add command to compiler input log.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/spack/env/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 4217159a25..68cd8514f4 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -241,7 +241,7 @@ fi
if [[ $SPACK_DEBUG = TRUE ]]; then
input_log="$SPACK_DEBUG_LOG_DIR/spack-cc-$SPACK_SHORT_SPEC.in.log"
output_log="$SPACK_DEBUG_LOG_DIR/spack-cc-$SPACK_SHORT_SPEC.out.log"
- echo "$input_command" >> $input_log
+ echo "$command $input_command" >> $input_log
echo "$mode ${full_command[@]}" >> $output_log
fi