projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02460d0
)
golang-base.eclass: ignore cflags etc in Go builds
author
William Hubbs
<williamh@gentoo.org>
Sat, 9 Apr 2016 19:10:34 +0000
(14:10 -0500)
committer
William 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
patch
|
blob
|
history
diff --git
a/eclass/golang-base.eclass
b/eclass/golang-base.eclass
index c6aa415c363584001e5aaf28ae8f81094265775e..0798040c0302c4327272e124fa03b4c18fcd9446 100644
(file)
--- 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