summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-05-04 23:17:43 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-05-04 23:21:22 -0700
commit10a51f6a197f8b6b8e146ca16bb458288943cc08 (patch)
tree3f56b3a2d58188d0fd9db9fb922e5d474b43ca9e /net-dns
parentapp-admin/restart-services: remove old version (diff)
downloadgentoo-10a51f6a197f8b6b8e146ca16bb458288943cc08.tar.gz
gentoo-10a51f6a197f8b6b8e146ca16bb458288943cc08.tar.bz2
gentoo-10a51f6a197f8b6b8e146ca16bb458288943cc08.zip
net-dns/bind: build fix for LDFLAGS=-Wl,-O1
The cmocka component introduced as a unit test framework in BIND 9.16 series does not link correctly if LDFLAGS include -Wl,-O1. It can be triggered directly, or via any pkg-config dependencies that includes that in LDFLAGS. This does not fix other QA errors already present, just disables building cmocka as the testing is already disabled in the ebuild. Closes: https://bugs.gentoo.org/710840 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind/bind-9.16.1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-dns/bind/bind-9.16.1.ebuild b/net-dns/bind/bind-9.16.1.ebuild
index 9628c36243ac..12ea094a482a 100644
--- a/net-dns/bind/bind-9.16.1.ebuild
+++ b/net-dns/bind/bind-9.16.1.ebuild
@@ -82,6 +82,7 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/${MY_P}"
# bug 479092, requires networking
+# bug 710840, cmocka fails LDFLAGS='-Wl,-O1'
RESTRICT="test"
pkg_setup() {
@@ -138,6 +139,7 @@ src_configure() {
--enable-full-report
--without-readline
--with-openssl="${EPREFIX}"/usr
+ --without-cmocka
$(use_enable caps linux-caps)
$(use_enable dnsrps)
$(use_enable dnstap)