commit:     fe563cbaa21fd257b28ae773987b81db87af00d4
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 17:44:50 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 24 17:46:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe563cba

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 <slyfox <AT> gentoo.org>

 eclass/ghc-package.eclass | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index 5361f09af1e..72d668ca0e2 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

Reply via email to