From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3, 2/4] package/bind: remove threads dependency
Date: Fri, 26 Apr 2019 18:56:11 +0200 [thread overview]
Message-ID: <20190426165613.31812-2-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20190426165613.31812-1-fontaine.fabrice@gmail.com>
Threads dependency has been added in 2015 with commit
07c1ad4647b6a8e60338fc01ddcb2d629de0ad14 however bind can be built
without threads thanks to --disable-threads
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/bind/Config.in | 5 -----
package/bind/bind.mk | 1 +
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/package/bind/Config.in b/package/bind/Config.in
index 5b34b66f7a..60546f691b 100644
--- a/package/bind/Config.in
+++ b/package/bind/Config.in
@@ -1,7 +1,6 @@
config BR2_PACKAGE_BIND
bool "bind"
depends on BR2_USE_MMU # fork()
- depends on BR2_TOOLCHAIN_HAS_THREADS
help
BIND (Berkeley Internet Name Domain) is an
implementation of the Domain Name System (DNS) protocols
@@ -39,7 +38,3 @@ config BR2_PACKAGE_BIND_TOOLS
Install tools (dig, host, nslookup, nsupdate)
endif
-
-comment "bind needs a toolchain w/ threads"
- depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index 87871bc60d..29738cad4a 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -24,6 +24,7 @@ BIND_CONF_ENV = \
BUILD_CC="$(TARGET_CC)" \
BUILD_CFLAGS="$(TARGET_CFLAGS)"
BIND_CONF_OPTS = \
+ $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \
--without-lmdb \
--with-libjson=no \
--with-randomdev=/dev/urandom \
--
2.20.1
next prev parent reply other threads:[~2019-04-26 16:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-26 16:56 [Buildroot] [PATCH v3,1/4] package/bind: enable static build Fabrice Fontaine
2019-04-26 16:56 ` Fabrice Fontaine [this message]
2019-04-26 16:56 ` [Buildroot] [PATCH v3, 3/4] package/bind: don't enable server by default Fabrice Fontaine
2019-04-26 16:56 ` [Buildroot] [PATCH v3,4/4] package/dhcp: use system bind Fabrice Fontaine
2019-05-09 20:30 ` [Buildroot] [PATCH v3,1/4] package/bind: enable static build Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190426165613.31812-2-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox