summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-03 00:03:44 -0500
committerSam James <sam@gentoo.org>2024-03-03 05:51:12 +0000
commit02a35ae88a3b84bf2381ffb4244102bdd86f1418 (patch)
tree0e206a2e61d68ee64c608d7437f959b2aa09b89b /net-dns
parentnet-dns/maradns: don't require acct-* packages to compile (diff)
downloadgentoo-02a35ae88a3b84bf2381ffb4244102bdd86f1418.tar.gz
gentoo-02a35ae88a3b84bf2381ffb4244102bdd86f1418.tar.bz2
gentoo-02a35ae88a3b84bf2381ffb4244102bdd86f1418.zip
net-dns/maradns: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/861293 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/maradns/maradns-3.5.0022.ebuild7
-rw-r--r--net-dns/maradns/maradns-3.5.0036.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild
index 2b29f3c404a5..4492b31c472c 100644
--- a/net-dns/maradns/maradns-3.5.0022.ebuild
+++ b/net-dns/maradns/maradns-3.5.0022.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
-inherit python-any-r1 systemd toolchain-funcs
+inherit flag-o-matic python-any-r1 systemd toolchain-funcs
DESCRIPTION="A security-aware DNS server"
HOMEPAGE="https://maradns.samiam.org"
@@ -33,6 +33,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/861293
+ # https://github.com/samboy/MaraDNS/discussions/124
+ filter-lto
+
tc-export CC
./configure --ipv6 || die "Failed to configure"
}
diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild
index 3ae5a00374ac..30df46007db5 100644
--- a/net-dns/maradns/maradns-3.5.0036.ebuild
+++ b/net-dns/maradns/maradns-3.5.0036.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit python-any-r1 systemd toolchain-funcs
+inherit flag-o-matic python-any-r1 systemd toolchain-funcs
DESCRIPTION="A security-aware DNS server"
HOMEPAGE="https://maradns.samiam.org"
@@ -28,6 +28,11 @@ PATCHES=(
)
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/861293
+ # https://github.com/samboy/MaraDNS/discussions/124
+ filter-lto
+
tc-export CC
./configure --ipv6 || die "Failed to configure"
}