commit:     63d1e2485f6a9b8386e52697e5d9b1f469abd64d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  9 19:10:34 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=63d1e248

golang-base.eclass: ignore cflags etc in Go builds

Go doesn't use the standard CFLAGS, etc, so we can ignore them.

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

 eclass/golang-base.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass
index c6aa415..0798040 100644
--- a/eclass/golang-base.eclass
+++ b/eclass/golang-base.eclass
@@ -24,6 +24,10 @@ if [[ -z ${_GOLANG_BASE} ]]; then
 _GOLANG_BASE=1
 
 DEPEND=">=dev-lang/go-1.4.2:="
+
+# Do not complain about CFLAGS etc since go projects do not use them.
+QA_FLAGS_IGNORED='.*'
+
 STRIP_MASK="*.a"
 
 # @ECLASS-VARIABLE: EGO_PN

Reply via email to