From: Sergei Trofimovich Date: Sun, 24 May 2020 17:44:50 +0000 (+0100) Subject: ghc-package.eclass: disable CFLAGS QA check, bug #722078 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe563cbaa21fd257b28ae773987b81db87af00d4;p=gentoo.git 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 --- 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