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.
This commit is contained in:
parent
73cc5457cb
commit
9d85eb02d5
4
Makefile
4
Makefile
|
@ -363,11 +363,11 @@ ifeq ($(TARGET),solaris)
|
||||||
TARGET_LDFLAGS = -lnsl -lsocket
|
TARGET_LDFLAGS = -lnsl -lsocket
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# FreeBSD 5 and above
|
# FreeBSD 10 and above
|
||||||
ifeq ($(TARGET),freebsd)
|
ifeq ($(TARGET),freebsd)
|
||||||
set_target_defaults = $(call default_opts, \
|
set_target_defaults = $(call default_opts, \
|
||||||
USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_CPU_AFFINITY USE_KQUEUE \
|
USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_CPU_AFFINITY USE_KQUEUE \
|
||||||
USE_CLOSEFROM)
|
USE_ACCEPT4 USE_CLOSEFROM USE_GETADDRINFO)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Mac OS/X
|
# Mac OS/X
|
||||||
|
|
Loading…
Reference in New Issue