commit:     1687efacf020823d3d968a45b7b00690d6b3c85d
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 29 01:01:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 01:50:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1687efac

net-analyzer/argus: mark LTO-unsafe, mark strict-aliasing unsafe

Closes: https://bugs.gentoo.org/861146
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 e4461407cd4a..c366c9a7af03 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 \

Reply via email to