]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: Update feature flags for FreeBSD
authorBrad Smith <brad@comstyle.com>
Tue, 15 Sep 2020 07:10:04 +0000 (03:10 -0400)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2020 09:11:04 +0000 (11:11 +0200)
This updates the feature flags for FreeBSD.

FreeBSD 10 adds support for accept4().

Enable getaddrinfo().

From the FreeBSD port / package.

Makefile

index 197126db5071c5e15f7ca8cd7ff09e72b8aa6c92..b18a7319fc4d8ad9fae7a8953bb2611d67e47c19 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -363,11 +363,11 @@ ifeq ($(TARGET),solaris)
   TARGET_LDFLAGS = -lnsl -lsocket
 endif
 
-# FreeBSD 5 and above
+# FreeBSD 10 and above
 ifeq ($(TARGET),freebsd)
   set_target_defaults = $(call default_opts, \
     USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_CPU_AFFINITY USE_KQUEUE   \
-    USE_CLOSEFROM)
+    USE_ACCEPT4 USE_CLOSEFROM USE_GETADDRINFO)
 endif
 
 # Mac OS/X