summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Kola <georgekola@gmail.com>2014-02-12 23:05:45 (GMT)
committerGeorge Kola <georgekola@gmail.com>2014-02-12 23:06:21 (GMT)
commitddd6bd4e99e62feb3e377624b93e8cf88080fca4 (patch)
treef27a2ef76cd3376fd34da40f03c3d667c40c0fc3
parent526e4a59a2fe39e4f8bdf1ec0c0d2a5a557c3f62 (diff)
downloadjemalloc-ddd6bd4e99e62feb3e377624b93e8cf88080fca4.zip
jemalloc-ddd6bd4e99e62feb3e377624b93e8cf88080fca4.tar.gz
jemalloc-ddd6bd4e99e62feb3e377624b93e8cf88080fca4.tar.bz2
Using MADV_FREE on Solaris/Illumos
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 61fd868..a80c05d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"