Created
March 17, 2019 13:08
-
-
Save daniloegea/c77ab3f267b38520db54cc0a3a9ecdd7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: Mk/Uses/go.mk | |
=================================================================== | |
--- Mk/Uses/go.mk (revision 496055) | |
+++ Mk/Uses/go.mk (working copy) | |
@@ -58,7 +58,8 @@ | |
GO_WRKDIR_PKG= ${WRKDIR}/pkg/${OPSYS:tl}_${GOARCH} | |
BUILD_DEPENDS+= ${GO_CMD}:lang/go | |
-GO_ENV+= GOPATH="${WRKDIR}:${LOCAL_GOPATH}" \ | |
+GO_ENV+= GOCACHE="${WRKDIR}/.gocache" \ | |
+ GOPATH="${WRKDIR}:${LOCAL_GOPATH}" \ | |
CGO_CFLAGS="${CGO_CFLAGS}" \ | |
CGO_LDFLAGS="${CGO_LDFLAGS}" \ | |
GOBIN="" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment