From: William Hubbs Date: Sat, 9 Apr 2016 19:10:34 +0000 (-0500) Subject: golang-base.eclass: ignore cflags etc in Go builds X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=63d1e2485f6a9b8386e52697e5d9b1f469abd64d;p=gentoo.git 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 --- diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index c6aa415c3635..0798040c0302 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