apenwarr-redo/t/110-compile/CC.do
Avery Pennarun 6c81b110be Tests: use cc instead of gcc.
This fixes problems where llvm is installed without a 'gcc' alias.
2018-10-29 07:20:33 +00:00

5 lines
69 B
Text

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