projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148e857
)
golang-build.eclass: add GOCACHE setting in src_compile for Go 1.11
author
William Hubbs
<william.hubbs@sony.com>
Thu, 20 Dec 2018 00:17:35 +0000
(18:17 -0600)
committer
William Hubbs
<williamh@gentoo.org>
Thu, 20 Dec 2018 00:21:15 +0000
(18:21 -0600)
Copyright: Sony Interactive Entertainment inc.
Signed-off-by: William Hubbs <williamh@gentoo.org>
eclass/golang-build.eclass
patch
|
blob
|
history
diff --git
a/eclass/golang-build.eclass
b/eclass/golang-build.eclass
index 4d5bcdf731897268aa01f319249b6e309be18f28..bb662ad45baf6eb7abef927779d4342934dfb59e 100644
(file)
--- a/
eclass/golang-build.eclass
+++ b/
eclass/golang-build.eclass
@@
-55,6
+55,7
@@
golang-build_src_compile() {
ego_pn_check
set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
+ GOCACHE="${T}/go-cache" \
go build -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
echo "$@"
"$@" || die