configure: force clang when on freebsd.
This commit is contained in:
parent
c44c9a47d8
commit
4b0e1336b2
1 changed files with 9 additions and 0 deletions
9
configure
vendored
9
configure
vendored
|
@ -432,6 +432,15 @@ then
|
||||||
fi
|
fi
|
||||||
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" ]
|
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
|
||||||
then
|
then
|
||||||
err "either clang or gcc is required"
|
err "either clang or gcc is required"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue