diff options
author | 2024-03-19 20:27:23 -0400 | |
---|---|---|
committer | 2024-03-20 06:16:57 +0000 | |
commit | eb0e5ecae371f47a765f537ba0095faed1b45013 (patch) | |
tree | 352dcfe9a86e2e3b2f58c72906a1e3924d0e3434 /net-analyzer | |
parent | media-sound/mac: add 10.60 (diff) | |
download | gentoo-eb0e5ecae371f47a765f537ba0095faed1b45013.tar.gz gentoo-eb0e5ecae371f47a765f537ba0095faed1b45013.tar.bz2 gentoo-eb0e5ecae371f47a765f537ba0095faed1b45013.zip |
net-analyzer/snort: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/861239
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/snort/snort-2.9.17-r1.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/net-analyzer/snort/snort-2.9.17-r1.ebuild b/net-analyzer/snort/snort-2.9.17-r1.ebuild index ba2c56393269..25092e422c53 100644 --- a/net-analyzer/snort/snort-2.9.17-r1.ebuild +++ b/net-analyzer/snort/snort-2.9.17-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 LUA_COMPAT=( luajit ) -inherit autotools lua-single systemd tmpfiles +inherit autotools flag-o-matic lua-single systemd tmpfiles DESCRIPTION="The de facto standard for intrusion detection/prevention" HOMEPAGE="https://www.snort.org" @@ -60,6 +60,15 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861239 + # + # Upstream does bug mail. Sent an email. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf \ $(use_enable gre) \ $(use_enable control-socket) \ |