1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 04:39:03 -08:00

default to gcc

This commit is contained in:
Connor Olding 2019-05-27 11:39:45 +02:00
parent 004cc98b51
commit e4eb191e15

4
sh/pre
View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ -n "${ZSH_VERSION:-}" ]; then
$CC -dM -E - $=CPPFLAGS $=CFLAGS $=LDFLAGS < /dev/null
${CC:-gcc} -dM -E - $=CPPFLAGS $=CFLAGS $=LDFLAGS < /dev/null
else
$CC -dM -E - $CPPFLAGS $CFLAGS $LDFLAGS < /dev/null
${CC:-gcc} -dM -E - $CPPFLAGS $CFLAGS $LDFLAGS < /dev/null
fi