net-dns/bind: build fix for LDFLAGS=-Wl,-O1
authorRobin H. Johnson <robbat2@gentoo.org>
Tue, 5 May 2020 06:17:43 +0000 (23:17 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Tue, 5 May 2020 06:21:22 +0000 (23:21 -0700)
commit10a51f6a197f8b6b8e146ca16bb458288943cc08
tree3f56b3a2d58188d0fd9db9fb922e5d474b43ca9e
parent08be30b6239ee9f310fd54494124727aa7935c14
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>
net-dns/bind/bind-9.16.1.ebuild