Tests: use cc instead of gcc.

This fixes problems where llvm is installed without a 'gcc' alias.
This commit is contained in:
Avery Pennarun 2018-10-29 07:20:33 +00:00
commit 6c81b110be
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ redo-ifchange config.sh
exec >$3
cat <<-EOF
redo-ifchange \$2.c
gcc $CFLAGS -MD -MF \$3.deps -o \$3 -c \$2.c
cc $CFLAGS -MD -MF \$3.deps -o \$3 -c \$2.c
read DEPS <\$3.deps
rm -f \$3.deps
redo-ifchange \${DEPS#*:}