summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2014-02-13 01:19:20 (GMT)
committerJason Evans <jasone@canonware.com>2014-02-13 01:19:20 (GMT)
commit9326a301b8740365b3d6b5c0afa1d8fa46fe6846 (patch)
treef27a2ef76cd3376fd34da40f03c3d667c40c0fc3
parent526e4a59a2fe39e4f8bdf1ec0c0d2a5a557c3f62 (diff)
parentddd6bd4e99e62feb3e377624b93e8cf88080fca4 (diff)
downloadjemalloc-9326a301b8740365b3d6b5c0afa1d8fa46fe6846.zip
jemalloc-9326a301b8740365b3d6b5c0afa1d8fa46fe6846.tar.gz
jemalloc-9326a301b8740365b3d6b5c0afa1d8fa46fe6846.tar.bz2
Merge pull request #50 from georgekola/Voxer-Solaris
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"