summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kuester <rkuester@kspace.net>2011-01-10 22:32:39 -0600
committerRyan Kuester <rkuester@kspace.net>2011-01-10 22:32:39 -0600
commit68190104018c3a81f137d6b63af68e43713994a0 (patch)
treebeb6338ec674bf3249992606f7e10c66c0170442
parentf6ea1fd76b21d71672243c1bf5e139034dbf9120 (diff)
Fix use of config.sh in example
-rw-r--r--t/example/CC.do2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/example/CC.do b/t/example/CC.do
index abb528c..c45013a 100644
--- a/t/example/CC.do
+++ b/t/example/CC.do
@@ -3,7 +3,7 @@ redo-ifchange config.sh
exec >$3
cat <<-EOF
redo-ifchange \$1.c
- gcc -MD -MF \$3.deps.tmp -o \$3 -c \$1.c
+ gcc $CFLAGS -MD -MF \$3.deps.tmp -o \$3 -c \$1.c
DEPS=\$(sed -e "s/^\$3://" -e 's/\\\\//g' <\$3.deps.tmp)
rm -f \$3.deps.tmp
redo-ifchange \$DEPS