summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-01-25 09:18:32 (GMT)
committerJason Evans <jasone@canonware.com>2015-01-25 21:00:42 (GMT)
commit77d597ebb23aa47a4a0112c294ad6a68857f450c (patch)
treec13d3baa99cd70f5ff500fd53efa277e0ccb5421 /configure.ac
parenteee27b2a38d6bb741d9de5e028d5b23e2f4ec4cf (diff)
downloadjemalloc-77d597ebb23aa47a4a0112c294ad6a68857f450c.zip
jemalloc-77d597ebb23aa47a4a0112c294ad6a68857f450c.tar.gz
jemalloc-77d597ebb23aa47a4a0112c294ad6a68857f450c.tar.bz2
add openbsd support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0a4f01e..5e93a5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -283,6 +283,11 @@ case "${host}" in
abi="elf"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
;;
+ *-*-openbsd*)
+ CFLAGS="$CFLAGS"
+ abi="elf"
+ AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
+ ;;
*-*-linux*)
CFLAGS="$CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"