From fe563cbaa21fd257b28ae773987b81db87af00d4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 24 May 2020 18:44:50 +0100 Subject: [PATCH] ghc-package.eclass: disable CFLAGS QA check, bug #722078 GHC uses it's own native code generator. Portage's QA check generates false positive because it assumes presence of GCC-specific sections. Workaround false positiove by disabling the check completely. bug #722078, bug #677600 Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/722078 Bug: https://bugs.gentoo.org/677600 Signed-off-by: Sergei Trofimovich --- eclass/ghc-package.eclass | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass index 5361f09af1e9..72d668ca0e2e 100644 --- a/eclass/ghc-package.eclass +++ b/eclass/ghc-package.eclass @@ -18,6 +18,14 @@ case "${EAPI:-0}" in *) ;; esac +# GHC uses it's own native code generator. Portage's +# QA check generates false positive because it assumes +# presence of GCC-specific sections. +# +# Workaround false positiove by disabling the check completely. +# bug #722078, bug #677600 +QA_FLAGS_IGNORED='.*' + # @FUNCTION: ghc-getghc # @DESCRIPTION: # returns the name of the ghc executable -- 2.26.2