go-crosssdk: avoid host contamination by GOCACHE
PATCH 1/1 go-crosssdk: avoid host contamination by GOCACHE
From: Robert Andersson <[email protected]>
By default GOCACHE is set to $HOME/.cache.
Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]
but that commit missed go-crosssdk recipe.
Signed-off-by Robert Andersson <[email protected]>
Signed-off-by Ming Liu <[email protected]>
--- meta/recipes-devtools/go/go-crosssdk.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/go/go-crosssdk.inc +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc-crosssdk virtual/nativesdk-${TA PN = "go-crosssdk-${SDK_SYS}" PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk" +export GOCACHE = "${B}/.cache" + do_configure[noexec] = "1" do_compile() {
Signature · 1 line
2.25.1