From 1687efacf020823d3d968a45b7b00690d6b3c85d Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 28 Feb 2024 20:01:04 -0500 Subject: [PATCH] net-analyzer/argus: mark LTO-unsafe, mark strict-aliasing unsafe Closes: https://bugs.gentoo.org/861146 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- net-analyzer/argus/argus-3.0.8.3-r2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-analyzer/argus/argus-3.0.8.3-r2.ebuild b/net-analyzer/argus/argus-3.0.8.3-r2.ebuild index e4461407cd4a1..c366c9a7af031 100644 --- a/net-analyzer/argus/argus-3.0.8.3-r2.ebuild +++ b/net-analyzer/argus/argus-3.0.8.3-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="network Audit Record Generation and Utilization System" HOMEPAGE="https://openargus.org/" @@ -59,6 +59,12 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861146 + # https://github.com/openargus/argus/issues/8 + append-flags -fno-strict-aliasing + filter-lto + use debug && touch .debug # enable debugging econf \