diff options
author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-01-25 09:18:32 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-01-25 21:00:42 (GMT) |
commit | 77d597ebb23aa47a4a0112c294ad6a68857f450c (patch) | |
tree | c13d3baa99cd70f5ff500fd53efa277e0ccb5421 /configure.ac | |
parent | eee27b2a38d6bb741d9de5e028d5b23e2f4ec4cf (diff) | |
download | jemalloc-77d597ebb23aa47a4a0112c294ad6a68857f450c.zip jemalloc-77d597ebb23aa47a4a0112c294ad6a68857f450c.tar.gz jemalloc-77d597ebb23aa47a4a0112c294ad6a68857f450c.tar.bz2 |
add openbsd support
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
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" |