BUILD: makefile: Update feature flags for NetBSD

This updates the feature flags for NetBSD.

NetBSD 8 adds support for accept4().

Enable getaddrinfo().
This commit is contained in:
Brad Smith 2020-10-08 16:24:52 -04:00 committed by Willy Tarreau
parent 4a539f343a
commit 0fdfe4179e
2 changed files with 4 additions and 3 deletions

View File

@ -377,7 +377,7 @@ and assign it to the TARGET variable :
- solaris for Solaris 10 and above - solaris for Solaris 10 and above
- freebsd for FreeBSD 10 and above - freebsd for FreeBSD 10 and above
- dragonfly for DragonFlyBSD 4.3 and above - dragonfly for DragonFlyBSD 4.3 and above
- netbsd for NetBSD - netbsd for NetBSD 8 and above
- osx for Mac OS/X - osx for Mac OS/X
- openbsd for OpenBSD 6.3 and above - openbsd for OpenBSD 6.3 and above
- aix51 for AIX 5.1 - aix51 for AIX 5.1

View File

@ -393,10 +393,11 @@ ifeq ($(TARGET),openbsd)
USE_GETADDRINFO) USE_GETADDRINFO)
endif endif
# NetBSD # NetBSD 8 and above
ifeq ($(TARGET),netbsd) ifeq ($(TARGET),netbsd)
set_target_defaults = $(call default_opts, \ 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 endif
# AIX 5.1 only # AIX 5.1 only