go-cross: Disable build with ccache

go compiler does not work reliably with ccache
gcc: fatal error: no input files

(From OE-Core rev: 136743fe72591b90794ec30b9a3fbb41fe6a66aa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2025-08-09 11:12:03 -07:00
committed by Richard Purdie
parent 5ca542cadf
commit dd7fa90e0d

View File

@@ -5,6 +5,8 @@ DEPENDS = "go-native"
PN = "go-cross-${TUNE_PKGARCH}"
CCACHE_DISABLE = "1"
export GOCACHE = "${B}/.cache"
CC = "${@d.getVar('BUILD_CC').strip()}"