mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
llvm: Disable pthreads on mingw-w64 platforms
This commit is contained in:
parent
561277d791
commit
52c8c1daba
7
configure
vendored
7
configure
vendored
@ -878,6 +878,13 @@ do
|
||||
# Try to have LLVM pull in as few dependencies as possible (#9397)
|
||||
LLVM_OPTS="$LLVM_OPTS --disable-zlib --disable-libffi"
|
||||
|
||||
# pthreads works badly on mingw-w64 systems: #8996
|
||||
case "$CFG_BUILD" in
|
||||
(*w64-mingw32)
|
||||
LLVM_OPTS="$LLVM_OPTS --disable-pthreads"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$CFG_C_COMPILER" in
|
||||
("ccache clang")
|
||||
LLVM_CXX_32="ccache clang++ -m32 -Qunused-arguments"
|
||||
|
Loading…
Reference in New Issue
Block a user