ghc-package.eclass: disable CFLAGS QA check, bug #722078
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 24 May 2020 17:44:50 +0000 (18:44 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 24 May 2020 17:46:31 +0000 (18:46 +0100)
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@gentoo.org>
eclass/ghc-package.eclass

index 5361f09af1e912160235c3b7976da22711a1b5b5..72d668ca0e2e38b0cc18d60eda49ad8d43570a4a 100644 (file)
@@ -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