Skip to content

Commit

Permalink
Prioritize GCC over Clang if CFG_ONLY_GCC is set.
Browse files Browse the repository at this point in the history
On OS X I'd rather just be able to use GCC instead of the clang
builds I use/play with.
  • Loading branch information
Austin Seipp authored and brson committed Oct 29, 2011
1 parent e0f4473 commit 83413b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -324,7 +324,7 @@ case $CFG_LLVM_VERSION in
;;
esac

if [ ! -z "$CFG_CLANG" ]
if [ ! -z "$CFG_CLANG" -a -z "$CFG_ONLY_GCC" ]
then
CFG_CLANG_VERSION=$("$CFG_CLANG" \
--version \
Expand Down

0 comments on commit 83413b5

Please sign in to comment.