From e4eb191e15996671c6cc5d856c60c0c35b61ba00 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 27 May 2019 11:39:45 +0200 Subject: [PATCH] default to gcc --- sh/pre | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/pre b/sh/pre index 16c4079..bca3d62 100755 --- a/sh/pre +++ b/sh/pre @@ -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