mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 16:24:17 -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-rootkey-file=/etc/unbound/root.key \
|
||||
--enable-tfo-server \
|
||||
--enable-tfo-client \
|
||||
--with-libevent=$(STAGING_DIR)/usr \
|
||||
--with-libexpat=$(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)
|
||||
UNBOUND_CONF_OPTS += --with-pthreads
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user