summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-24 18:44:50 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-24 18:46:31 +0100
commitfe563cbaa21fd257b28ae773987b81db87af00d4 (patch)
tree628f56d545c0256d6a9c719597768a7fadb4b515 /eclass/ghc-package.eclass
parentdev-scheme/guile-gcrypt: bump up to 0.3.0 (diff)
downloadgentoo-fe563cbaa21fd257b28ae773987b81db87af00d4.tar.gz
gentoo-fe563cbaa21fd257b28ae773987b81db87af00d4.tar.bz2
gentoo-fe563cbaa21fd257b28ae773987b81db87af00d4.zip
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@gentoo.org>
Diffstat (limited to 'eclass/ghc-package.eclass')
-rw-r--r--eclass/ghc-package.eclass8
1 files changed, 8 insertions, 0 deletions
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