diff --git a/package/unbound/unbound.mk b/package/unbound/unbound.mk index ff0262bef1..04386e8d5b 100644 --- a/package/unbound/unbound.mk +++ b/package/unbound/unbound.mk @@ -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