mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/unbound: enable tfo-client for uClibc-ng systems
uClibc-ng systems have MSG_FASTOPEN since 2018 so no need to disable support for TCP fastopen client mode. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
5f76c30024
commit
52e9d8785a
@@ -18,18 +18,11 @@ UNBOUND_CONF_OPTS = \
|
|||||||
--with-pidfile=/var/run/unbound.pid \
|
--with-pidfile=/var/run/unbound.pid \
|
||||||
--with-rootkey-file=/etc/unbound/root.key \
|
--with-rootkey-file=/etc/unbound/root.key \
|
||||||
--enable-tfo-server \
|
--enable-tfo-server \
|
||||||
|
--enable-tfo-client \
|
||||||
--with-libevent=$(STAGING_DIR)/usr \
|
--with-libevent=$(STAGING_DIR)/usr \
|
||||||
--with-libexpat=$(STAGING_DIR)/usr \
|
--with-libexpat=$(STAGING_DIR)/usr \
|
||||||
--with-ssl=$(STAGING_DIR)/usr
|
--with-ssl=$(STAGING_DIR)/usr
|
||||||
|
|
||||||
# uClibc-ng does not have MSG_FASTOPEN
|
|
||||||
# so TCP Fast Open client mode disabled for it
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
||||||
UNBOUND_CONF_OPTS += --disable-tfo-client
|
|
||||||
else
|
|
||||||
UNBOUND_CONF_OPTS += --enable-tfo-client
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
|
||||||
UNBOUND_CONF_OPTS += --with-pthreads
|
UNBOUND_CONF_OPTS += --with-pthreads
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user