diff options
author | William Hubbs <williamh@gentoo.org> | 2016-04-09 14:10:34 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2016-04-09 14:13:12 -0500 |
commit | 63d1e2485f6a9b8386e52697e5d9b1f469abd64d (patch) | |
tree | 7ba66e7d585fe830833fa74486f4086b39dee5bc /eclass/golang-base.eclass | |
parent | dev-lang/go: add QA_FLAGS_IGNORED setting (diff) | |
download | gentoo-63d1e2485f6a9b8386e52697e5d9b1f469abd64d.tar.gz gentoo-63d1e2485f6a9b8386e52697e5d9b1f469abd64d.tar.bz2 gentoo-63d1e2485f6a9b8386e52697e5d9b1f469abd64d.zip |
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
Diffstat (limited to 'eclass/golang-base.eclass')
-rw-r--r-- | eclass/golang-base.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
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 |