From: Brad Smith Date: Tue, 15 Sep 2020 07:10:04 +0000 (-0400) Subject: BUILD: makefile: Update feature flags for FreeBSD X-Git-Tag: v2.3-dev6~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d85eb02d563029f5435238fd2fb45012fcafec5;p=thirdparty%2Fhaproxy.git BUILD: makefile: Update feature flags for FreeBSD This updates the feature flags for FreeBSD. FreeBSD 10 adds support for accept4(). Enable getaddrinfo(). From the FreeBSD port / package. --- diff --git a/Makefile b/Makefile index 197126db50..b18a7319fc 100644 --- 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