build: Set RUST_THREADS=1 on FreeBSD to avoid a threading bug
This commit is contained in:
parent
486d07a5bc
commit
4eeb706e84
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,12 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),)
|
||||||
CFG_DEF_SUFFIX := .bsd.def
|
CFG_DEF_SUFFIX := .bsd.def
|
||||||
CFG_INSTALL_NAME =
|
CFG_INSTALL_NAME =
|
||||||
CFG_PERF_TOOL := /usr/bin/time
|
CFG_PERF_TOOL := /usr/bin/time
|
||||||
|
|
||||||
|
# FIXME (1825): We're deadlocking on FreeBSD
|
||||||
|
ifndef RUST_THREADS
|
||||||
|
RUST_THREADS=1
|
||||||
|
export RUST_THREADS
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring linux,$(CFG_OSTYPE)),)
|
ifneq ($(findstring linux,$(CFG_OSTYPE)),)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue