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

@ -1,5 +1,5 @@
exec >$3
cat <<-EOF
gcc -Wall -o /dev/fd/1 -c "\$1"
cc -Wall -o /dev/fd/1 -c "\$1"
EOF
chmod a+x $3

View file

@ -2,6 +2,6 @@ exec >$3
cat <<-EOF
OUT="\$1"
shift
gcc -Wall -o "\$OUT" "\$@"
cc -Wall -o "\$OUT" "\$@"
EOF
chmod a+x $3

View file

@ -1,3 +1,3 @@
redo-ifchange CC hello.c
../sleep 2
gcc -o $3 -c hello.c
cc -o $3 -c hello.c