add openbsd support

This commit is contained in:
Sébastien Marie 2015-01-25 10:18:32 +01:00 committed by Jason Evans
parent eee27b2a38
commit 77d597ebb2

View File

@ -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"