1 |
commit: fe563cbaa21fd257b28ae773987b81db87af00d4 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 24 17:44:50 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 24 17:46:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe563cba |
7 |
|
8 |
ghc-package.eclass: disable CFLAGS QA check, bug #722078 |
9 |
|
10 |
GHC uses it's own native code generator. Portage's |
11 |
QA check generates false positive because it assumes |
12 |
presence of GCC-specific sections. |
13 |
|
14 |
Workaround false positiove by disabling the check completely. |
15 |
bug #722078, bug #677600 |
16 |
|
17 |
Reported-by: Agostino Sarubbo |
18 |
Closes: https://bugs.gentoo.org/722078 |
19 |
Bug: https://bugs.gentoo.org/677600 |
20 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
21 |
|
22 |
eclass/ghc-package.eclass | 8 ++++++++ |
23 |
1 file changed, 8 insertions(+) |
24 |
|
25 |
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass |
26 |
index 5361f09af1e..72d668ca0e2 100644 |
27 |
--- a/eclass/ghc-package.eclass |
28 |
+++ b/eclass/ghc-package.eclass |
29 |
@@ -18,6 +18,14 @@ case "${EAPI:-0}" in |
30 |
*) ;; |
31 |
esac |
32 |
|
33 |
+# GHC uses it's own native code generator. Portage's |
34 |
+# QA check generates false positive because it assumes |
35 |
+# presence of GCC-specific sections. |
36 |
+# |
37 |
+# Workaround false positiove by disabling the check completely. |
38 |
+# bug #722078, bug #677600 |
39 |
+QA_FLAGS_IGNORED='.*' |
40 |
+ |
41 |
# @FUNCTION: ghc-getghc |
42 |
# @DESCRIPTION: |
43 |
# returns the name of the ghc executable |