commit:     02460d0f66105a4948ef770d02865e52e9123613
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  9 19:00:08 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Apr  9 19:13:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02460d0f

dev-lang/go: add QA_FLAGS_IGNORED setting

Go doesn't use the standard CFLAGS etc at all, so we shouldn't complain
about them.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=428464

Package-Manager: portage-2.2.26

 dev-lang/go/go-1.6-r2.ebuild | 3 +++
 dev-lang/go/go-9999.ebuild   | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/dev-lang/go/go-1.6-r2.ebuild b/dev-lang/go/go-1.6-r2.ebuild
index 1affd1a..5689900 100644
--- a/dev-lang/go/go-1.6-r2.ebuild
+++ b/dev-lang/go/go-1.6-r2.ebuild
@@ -60,6 +60,9 @@ RDEPEND="!<dev-go/go-tools-0_pre20150902"
 # These test data objects have writable/executable stacks.
 QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
 
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+QA_FLAGS_IGNORED='.*'
+
 REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
 
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.

diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 5a65136..8a116ae 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -61,6 +61,9 @@ RDEPEND="!<dev-go/go-tools-0_pre20150902"
 # These test data objects have writable/executable stacks.
 QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
 
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+QA_FLAGS_IGNORED='.*'
+
 REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
 
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.

Reply via email to