commit:     b17adffd47e3d9b107b7c25fb1f17a2edf3df605
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 22:29:51 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 23:11:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17adffd

net-analyzer/suricata: allow ignoring CFLAGS for USE=debug

We set specific compiler flags when Suricata is built in debug mode in
order to confirm with upstream bug-reporting policy.

Closes: https://bugs.gentoo.org/889748
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-analyzer/suricata/suricata-6.0.10.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-analyzer/suricata/suricata-6.0.10.ebuild 
b/net-analyzer/suricata/suricata-6.0.10.ebuild
index 69445880fb19..697b19988894 100644
--- a/net-analyzer/suricata/suricata-6.0.10.ebuild
+++ b/net-analyzer/suricata/suricata-6.0.10.ebuild
@@ -119,6 +119,7 @@ src_configure() {
        if use debug; then
                myeconfargs+=( $(use_enable debug) )
                # so we can get a backtrace according to "reporting bugs" on 
upstream web site
+               QA_FLAGS_IGNORED="usr/bin/${PN}"
                CFLAGS="-ggdb -O0" econf ${myeconfargs[@]}
        else
                econf ${myeconfargs[@]}

Reply via email to