From: Brad Smith Date: Thu, 8 Oct 2020 20:24:52 +0000 (-0400) Subject: BUILD: makefile: Update feature flags for NetBSD X-Git-Tag: v2.3-dev6~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fdfe4179e33b2c2a30e8868c8ed6d7e5f88f72d;p=thirdparty%2Fhaproxy.git BUILD: makefile: Update feature flags for NetBSD This updates the feature flags for NetBSD. NetBSD 8 adds support for accept4(). Enable getaddrinfo(). --- diff --git a/INSTALL b/INSTALL index 0263cf34cf..2ae98bf6b5 100644 --- a/INSTALL +++ b/INSTALL @@ -377,7 +377,7 @@ and assign it to the TARGET variable : - solaris for Solaris 10 and above - freebsd for FreeBSD 10 and above - dragonfly for DragonFlyBSD 4.3 and above - - netbsd for NetBSD + - netbsd for NetBSD 8 and above - osx for Mac OS/X - openbsd for OpenBSD 6.3 and above - aix51 for AIX 5.1 diff --git a/Makefile b/Makefile index ecb034d348..db9bbe7e9a 100644 --- a/Makefile +++ b/Makefile @@ -393,10 +393,11 @@ ifeq ($(TARGET),openbsd) USE_GETADDRINFO) endif -# NetBSD +# NetBSD 8 and above ifeq ($(TARGET),netbsd) set_target_defaults = $(call default_opts, \ - USE_POLL USE_TPROXY USE_KQUEUE) + USE_POLL USE_TPROXY USE_THREAD USE_KQUEUE USE_ACCEPT4 USE_CLOSEFROM \ + USE_GETADDRINFO) endif # AIX 5.1 only