mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
configure: force clang when on freebsd.
This commit is contained in:
parent
c44c9a47d8
commit
4b0e1336b2
9
configure
vendored
9
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user