summaryrefslogtreecommitdiff
path: root/eclass/golang-build.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /eclass/golang-build.eclass
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'eclass/golang-build.eclass')
-rw-r--r--eclass/golang-build.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass
index 4d5bcdf73189..bb662ad45baf 100644
--- 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