diff --git a/configure b/configure index b584c44d8a..9d36ddc6f2 100755 --- a/configure +++ b/configure @@ -4880,6 +4880,12 @@ case "${host}" in abi="elf" $as_echo "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h + ;; + *-*-bitrig*) + CFLAGS="$CFLAGS" + abi="elf" + $as_echo "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h + ;; *-*-linux*) CFLAGS="$CFLAGS" diff --git a/configure.ac b/configure.ac index e4afe88906..07c7e4fb62 100644 --- a/configure.ac +++ b/configure.ac @@ -288,6 +288,11 @@ case "${host}" in abi="elf" AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ]) ;; + *-*-bitrig*) + CFLAGS="$CFLAGS" + abi="elf" + AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ]) + ;; *-*-linux*) CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"