Support Debian GNU/kFreeBSD.

Treat it exactly like Linux since they both use GNU libc.
This commit is contained in:
Samuel Moritz 2016-07-25 19:33:27 +02:00 committed by Jason Evans
parent 25f7bbcf28
commit 69f027b855

View File

@ -378,7 +378,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"