aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r--Mk/bsd.gecko.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index c7763c4e1bb2..d7febeb00386 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -555,15 +555,18 @@ LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}
.if ${OSVERSION} > 1000011
# use jemalloc 3.0.0 API in libc
MOZ_EXPORT+= MOZ_JEMALLOC=1
-.elif ${OSVERSION} > 800004
+.elif ${OSVERSION} > 701106
MOZ_OPTIONS+= --enable-jemalloc
MOZ_EXPORT+= MOZ_JEMALLOC=1
-.elif ${OSVERSION} > 700101
-# has _pthread_mutex_init_calloc_cb but firefox crashes when jemalloc
-# configured without --enable-debug
.endif
.endif
+.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900045) \
+ || ${OSVERSION} < 802513
+MOZ_EXPORT+= ac_cv_thread_keyword=no \
+ je_cv_tls_model=no
+.endif
+
# Standard depends
_ALL_DEPENDS= cairo dbm event ffi hunspell jpeg nspr nss png sqlite vpx zip