mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 16:24:17 -09:00
package/zeromq: force detection of more features
ZeroMQ added SO_PRIORITY in version 4.3.4, SO_BINDTODEVICE in 4.2.3, and
O_CLOEXEC since before 2.1.11. Checks for these feature are incompatible
with cross compilation. Linux supports SO_PRIORITY, and SO_BINDTODEVICE
since before 2.6. O_CLOEXEC is supported since 2.6.23. Keep them always
enabled.
Cc: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3d4a5a77e5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
236db8c55d
commit
8f8e9d959d
@@ -18,7 +18,10 @@ ZEROMQ_CPE_ID_PRODUCT = libzmq
|
||||
# SOCK_CLOEXEC, since linux v2.6.27.
|
||||
# Note: the flag TCP_KEEPALIVE is NOT available so we do not include it.
|
||||
ZEROMQ_CONF_ENV = libzmq_cv_sock_cloexec=yes \
|
||||
libzmq_cv_o_cloexec=yes \
|
||||
libzmq_cv_so_keepalive=yes \
|
||||
libzmq_cv_so_priority=yes \
|
||||
libzmq_cv_so_bindtodevice=yes \
|
||||
libzmq_cv_tcp_keepcnt=yes \
|
||||
libzmq_cv_tcp_keepidle=yes \
|
||||
libzmq_cv_tcp_keepintvl=yes
|
||||
|
||||
Reference in New Issue
Block a user