mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
BUILD: Make use of accept4() on OpenBSD.
OpenBSD >= 5.7 supports accept4(). Older versions are not supported anymore anyway. Patch originally from Brad Smith.
This commit is contained in:
parent
1e08cd819a
commit
9705ba2981
3
Makefile
3
Makefile
@ -309,10 +309,11 @@ ifeq ($(TARGET),osx)
|
|||||||
USE_TPROXY = implicit
|
USE_TPROXY = implicit
|
||||||
else
|
else
|
||||||
ifeq ($(TARGET),openbsd)
|
ifeq ($(TARGET),openbsd)
|
||||||
# This is for OpenBSD >= 3.0
|
# This is for OpenBSD >= 5.7
|
||||||
USE_POLL = implicit
|
USE_POLL = implicit
|
||||||
USE_KQUEUE = implicit
|
USE_KQUEUE = implicit
|
||||||
USE_TPROXY = implicit
|
USE_TPROXY = implicit
|
||||||
|
USE_ACCEPT4 = implicit
|
||||||
else
|
else
|
||||||
ifeq ($(TARGET),netbsd)
|
ifeq ($(TARGET),netbsd)
|
||||||
# This is for NetBSD
|
# This is for NetBSD
|
||||||
|
2
README
2
README
@ -43,7 +43,7 @@ and assign it to the TARGET variable :
|
|||||||
- freebsd for FreeBSD 5 to 10 (others untested)
|
- freebsd for FreeBSD 5 to 10 (others untested)
|
||||||
- netbsd for NetBSD
|
- netbsd for NetBSD
|
||||||
- osx for Mac OS/X
|
- osx for Mac OS/X
|
||||||
- openbsd for OpenBSD 3.1 and above
|
- openbsd for OpenBSD 5.7 and above
|
||||||
- aix51 for AIX 5.1
|
- aix51 for AIX 5.1
|
||||||
- aix52 for AIX 5.2
|
- aix52 for AIX 5.2
|
||||||
- cygwin for Cygwin
|
- cygwin for Cygwin
|
||||||
|
Loading…
Reference in New Issue
Block a user