Using MADV_FREE on Solaris/Illumos

This commit is contained in:
George Kola 2014-02-12 23:05:45 +00:00
parent 526e4a59a2
commit ddd6bd4e99

View File

@ -296,6 +296,7 @@ case "${host}" in
*-*-solaris2*)
CFLAGS="$CFLAGS"
abi="elf"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
RPATH='-Wl,-R,$(1)'
dnl Solaris needs this for sigwait().
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"