mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 09:07:02 +02:00
[BUILD] enable kqueue on MacOS X too
MacOS X is said to have kqueue. Let's enable it too.
This commit is contained in:
parent
cd5ce2a514
commit
8ae42f42f8
@ -29,7 +29,7 @@ PCREDIR!= pcre-config --prefix 2>/dev/null || :
|
|||||||
#PCREDIR=/usr/local
|
#PCREDIR=/usr/local
|
||||||
|
|
||||||
# This is for darwin 3.0 and above
|
# This is for darwin 3.0 and above
|
||||||
COPTS.darwin = -DENABLE_POLL
|
COPTS.darwin = -DENABLE_POLL -DENABLE_KQUEUE
|
||||||
LIBS.darwin =
|
LIBS.darwin =
|
||||||
|
|
||||||
# CPU dependant optimizations
|
# CPU dependant optimizations
|
||||||
@ -69,7 +69,7 @@ ADDLIB =
|
|||||||
# set some defines when needed.
|
# set some defines when needed.
|
||||||
# Known ones are -DENABLE_POLL
|
# Known ones are -DENABLE_POLL
|
||||||
# - use -DTPROXY to compile with transparent proxy support.
|
# - use -DTPROXY to compile with transparent proxy support.
|
||||||
DEFINE = -DTPROXY
|
DEFINE = -DTPROXY
|
||||||
|
|
||||||
# global options
|
# global options
|
||||||
TARGET_OPTS=$(COPTS.$(TARGET))
|
TARGET_OPTS=$(COPTS.$(TARGET))
|
||||||
|
Loading…
Reference in New Issue
Block a user