Skip to content

Commit

Permalink
configure: force clang when on freebsd.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Nov 14, 2012
1 parent c44c9a4 commit 4b0e133
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,15 @@ then
fi
fi

# Force freebsd to build with clang; gcc doesn't like us there
if [ $CFG_OSTYPE = unknown-freebsd ]
then
step_msg "on FreeBSD, forcing use of clang"
CFG_ENABLE_CLANG=1
putvar CFG_ENABLE_CLANG
fi


if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
then
err "either clang or gcc is required"
Expand Down

0 comments on commit 4b0e133

Please sign in to comment.