* [Buildroot] [PATCH] package/zeromq: force detection of more features
@ 2022-07-20 14:47 Baruch Siach via buildroot
2022-07-20 16:40 ` Thomas Petazzoni via buildroot
2022-08-11 11:47 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach via buildroot @ 2022-07-20 14:47 UTC (permalink / raw)
To: buildroot; +Cc: Asaf Kahlon
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>
---
package/zeromq/zeromq.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index c22f69ec66c1..452c5f429171 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -17,7 +17,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
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/zeromq: force detection of more features
2022-07-20 14:47 [Buildroot] [PATCH] package/zeromq: force detection of more features Baruch Siach via buildroot
@ 2022-07-20 16:40 ` Thomas Petazzoni via buildroot
2022-08-11 11:47 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-20 16:40 UTC (permalink / raw)
To: Baruch Siach via buildroot; +Cc: buildroot, Asaf Kahlon
On Wed, 20 Jul 2022 17:47:17 +0300
Baruch Siach via buildroot <buildroot@buildroot.org> wrote:
> 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>
> ---
> package/zeromq/zeromq.mk | 3 +++
> 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/zeromq: force detection of more features
2022-07-20 14:47 [Buildroot] [PATCH] package/zeromq: force detection of more features Baruch Siach via buildroot
2022-07-20 16:40 ` Thomas Petazzoni via buildroot
@ 2022-08-11 11:47 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-08-11 11:47 UTC (permalink / raw)
To: Baruch Siach via buildroot; +Cc: buildroot, Asaf Kahlon
>>>>> "Baruch" == Baruch Siach via buildroot <buildroot@buildroot.org> writes:
> 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>
Committed to 2022.05.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-11 11:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-20 14:47 [Buildroot] [PATCH] package/zeromq: force detection of more features Baruch Siach via buildroot
2022-07-20 16:40 ` Thomas Petazzoni via buildroot
2022-08-11 11:47 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox