aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorRandy Secrist <[email protected]>2011-10-16 15:09:06 -0600
committerRandy Secrist <[email protected]>2011-10-16 15:09:06 -0600
commita4004368dfa3567bad9a56a82d7da0b95edfb8ff (patch)
tree1eb005c0a76468e19a892ec65675f1bdac28b067 /kerl
parent66e1f1bd30961d0716eeff0f69483d8ca44fd03f (diff)
downloadkerl-a4004368dfa3567bad9a56a82d7da0b95edfb8ff.tar.gz
kerl-a4004368dfa3567bad9a56a82d7da0b95edfb8ff.tar.bz2
kerl-a4004368dfa3567bad9a56a82d7da0b95edfb8ff.zip
Set compiler to llvm if gcc can't be found.
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index ca6e043..6d27100 100755
--- a/kerl
+++ b/kerl
@@ -297,7 +297,7 @@ do_build()
if [ -x `which gcc-4.2` ]; then
KERL_CONFIGURE_OPTIONS="CC=gcc-4.2 $KERL_CONFIGURE_OPTIONS"
else
- KERL_CONFIGURE_OPTIONS="CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS"
+ KERL_CONFIGURE_OPTIONS="CC=llvm-gcc-4.2 CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS"
fi
fi
fi