From: Robert Andersson Date: Sun, 11 Dec 2022 17:02:47 +0000 (+0100) Subject: go-crosssdk: avoid host contamination by GOCACHE X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2317 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5fd10c647ac4baad65f9efa964c3380aad7dd10;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git go-crosssdk: avoid host contamination by GOCACHE 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 Signed-off-by: Ming Liu Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-devtools/go/go-crosssdk.inc b/meta/recipes-devtools/go/go-crosssdk.inc index cd23cca2fe3..766938670a3 100644 --- a/meta/recipes-devtools/go/go-crosssdk.inc +++ b/meta/recipes-devtools/go/go-crosssdk.inc @@ -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() {