Fix threaded initialization and enable it on Linux.

Reported by Mike Hommey.
This commit is contained in:
Jason Evans
2012-04-05 11:06:23 -07:00
parent f3ca7c8386
commit 02b231205e
2 changed files with 6 additions and 3 deletions

View File

@@ -228,6 +228,7 @@ case "${host}" in
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
abi="elf"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_DONTNEED], [ ])
AC_DEFINE([JEMALLOC_THREADED_INIT], [ ])
RPATH="-Wl,-rpath,"
;;
*-*-netbsd*)