Skip to content

Commit

Permalink
Set compiler to llvm if gcc can't be found.
Browse files Browse the repository at this point in the history
  • Loading branch information
randysecrist committed Oct 16, 2011
1 parent 66e1f1b commit a400436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kerl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a400436

Please sign in to comment.