build: Set RUST_THREADS=1 on FreeBSD to avoid a threading bug

This commit is contained in:
Brian Anderson 2012-02-12 18:23:23 -08:00
parent 486d07a5bc
commit 4eeb706e84

View file

@ -38,6 +38,12 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),)
CFG_DEF_SUFFIX := .bsd.def
CFG_INSTALL_NAME =
CFG_PERF_TOOL := /usr/bin/time
# FIXME (1825): We're deadlocking on FreeBSD
ifndef RUST_THREADS
RUST_THREADS=1
export RUST_THREADS
endif
endif
ifneq ($(findstring linux,$(CFG_OSTYPE)),)