]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: Update feature flags for NetBSD
authorBrad Smith <brad@comstyle.com>
Thu, 8 Oct 2020 20:24:52 +0000 (16:24 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 07:53:56 +0000 (09:53 +0200)
This updates the feature flags for NetBSD.

NetBSD 8 adds support for accept4().

Enable getaddrinfo().

INSTALL
Makefile

diff --git a/INSTALL b/INSTALL
index 0263cf34cf6b6f1d82c35998f6ccd4fec931f70d..2ae98bf6b58851cba09d0757a66c68b129b02b4f 100644 (file)
--- 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
index ecb034d3480323a542767c17405d4f0e0947790d..db9bbe7e9a216d3a1593f0b474cd889bd665d12d 100644 (file)
--- 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