From 63d1e2485f6a9b8386e52697e5d9b1f469abd64d Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 9 Apr 2016 14:10:34 -0500 Subject: [PATCH] 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 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 -- 2.26.2