diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-07-28 00:43:33 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-07-28 00:43:33 +0100 |
commit | 7f4e93388771731395d5848538531f6419f843f3 (patch) | |
tree | 54204e6c8046aa148f9a70b05348f9ff311f0dcf /net-analyzer/suricata | |
parent | media-sound/easyeffects: move media-libs/libsamplerate to DEPEND (diff) | |
download | gentoo-7f4e93388771731395d5848538531f6419f843f3.tar.gz gentoo-7f4e93388771731395d5848538531f6419f843f3.tar.bz2 gentoo-7f4e93388771731395d5848538531f6419f843f3.zip |
net-analyzer/suricata: filter out LTO flags
Triggers type mismatches as demonstrated in the linked bug.
Don't bother doing the same with suricata-5, it is mere days
away from its end of life.
Closes: https://bugs.gentoo.org/861242
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-analyzer/suricata')
-rw-r--r-- | net-analyzer/suricata/suricata-6.0.6.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-analyzer/suricata/suricata-6.0.6.ebuild b/net-analyzer/suricata/suricata-6.0.6.ebuild index 1170a44de6b0..751a280a7b5d 100644 --- a/net-analyzer/suricata/suricata-6.0.6.ebuild +++ b/net-analyzer/suricata/suricata-6.0.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 LUA_COMPAT=( lua5-1 luajit ) PYTHON_COMPAT=( python3_{8..10} ) -inherit autotools linux-info lua-single python-single-r1 systemd tmpfiles +inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles DESCRIPTION="High performance Network IDS, IPS and Network Security Monitoring engine" HOMEPAGE="https://suricata.io/" @@ -80,6 +80,9 @@ src_prepare() { } src_configure() { + # Bug #861242 + filter-lto + local myeconfargs=( "--localstatedir=/var" \ "--runstatedir=/run" \ |