Skip to contentSkip to conversation

go-cross: Disable build with ccache

PATCH New Khem Raj 1 participant 1 message Aug 9, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 go-cross: Disable build with ccache

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

---
 meta/recipes-devtools/go/go-cross.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/go/go-cross.inc +2 -0
index a0fbdbe3b93..ebee2e53cde 100644
@@ -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()}"