diff mbox series

go-cross: Disable build with ccache

Message ID 20250809181203.768245-1-raj.khem@gmail.com
State New
Headers show
Series go-cross: Disable build with ccache | expand

Commit Message

Khem Raj Aug. 9, 2025, 6:12 p.m. UTC
go compiler does not work reliably with ccache
gcc: fatal error: no input files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/go/go-cross.inc | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc
index a0fbdbe3b93..ebee2e53cde 100644
--- a/meta/recipes-devtools/go/go-cross.inc
+++ b/meta/recipes-devtools/go/go-cross.inc
@@ -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()}"