aboutsummaryrefslogtreecommitdiffstats
path: root/out/CC.do
diff options
context:
space:
mode:
Diffstat (limited to 'out/CC.do')
-rw-r--r--out/CC.do4
1 files changed, 2 insertions, 2 deletions
diff --git a/out/CC.do b/out/CC.do
index 97de1ca..bf1a46f 100644
--- a/out/CC.do
+++ b/out/CC.do
@@ -4,7 +4,7 @@ redo-ifchange config.sh
exec >$3
cat <<-EOF
redo-ifchange \$SRCDIR/\$2.c
- $CC $CFLAGS -MD -MF /dev/fd/1 -o \$3 -c \$SRCDIR/\$2.c | sed 's/^[^:]*://g'|
- sed 's/ \\\\$//g' | xargs redo-ifchange
+ temp=\$($CC $CFLAGS -MD -MF /dev/fd/1 -o \$3 -c \$SRCDIR/\$2.c)
+ echo $temp | sed 's/^[^:]*://g' | sed 's/ \\\\$//g' | xargs redo-ifchange
EOF
chmod +x $3