From 092d760817d4e3f16f465d77bf2b83375dc2db39 Mon Sep 17 00:00:00 2001 From: Samuel Moritz Date: Mon, 25 Jul 2016 19:33:27 +0200 Subject: [PATCH] Support Debian GNU/kFreeBSD. Treat it exactly like Linux since they both use GNU libc. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 104fd994..451eb622 100644 --- a/configure.ac +++ b/configure.ac @@ -384,7 +384,7 @@ case "${host}" in abi="elf" AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ]) ;; - *-*-linux*) + *-*-linux* | *-*-kfreebsd*) dnl syscall(2) and secure_getenv(3) are exposed by _GNU_SOURCE. CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" abi="elf"