Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/suricata/
Date: Wed, 01 Mar 2023 23:12:14
Message-Id: 1677712318.b17adffd47e3d9b107b7c25fb1f17a2edf3df605.marecki@gentoo
1 commit: b17adffd47e3d9b107b7c25fb1f17a2edf3df605
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 1 22:29:51 2023 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 1 23:11:58 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17adffd
7
8 net-analyzer/suricata: allow ignoring CFLAGS for USE=debug
9
10 We set specific compiler flags when Suricata is built in debug mode in
11 order to confirm with upstream bug-reporting policy.
12
13 Closes: https://bugs.gentoo.org/889748
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15
16 net-analyzer/suricata/suricata-6.0.10.ebuild | 1 +
17 1 file changed, 1 insertion(+)
18
19 diff --git a/net-analyzer/suricata/suricata-6.0.10.ebuild b/net-analyzer/suricata/suricata-6.0.10.ebuild
20 index 69445880fb19..697b19988894 100644
21 --- a/net-analyzer/suricata/suricata-6.0.10.ebuild
22 +++ b/net-analyzer/suricata/suricata-6.0.10.ebuild
23 @@ -119,6 +119,7 @@ src_configure() {
24 if use debug; then
25 myeconfargs+=( $(use_enable debug) )
26 # so we can get a backtrace according to "reporting bugs" on upstream web site
27 + QA_FLAGS_IGNORED="usr/bin/${PN}"
28 CFLAGS="-ggdb -O0" econf ${myeconfargs[@]}
29 else
30 econf ${myeconfargs[@]}