golang-base.eclass: ignore cflags etc in Go builds
authorWilliam Hubbs <williamh@gentoo.org>
Sat, 9 Apr 2016 19:10:34 +0000 (14:10 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Sat, 9 Apr 2016 19:13:12 +0000 (14:13 -0500)
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

index c6aa415c363584001e5aaf28ae8f81094265775e..0798040c0302c4327272e124fa03b4c18fcd9446 100644 (file)
@@ -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