diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-08-09 11:12:03 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-11 18:04:25 +0100 |
| commit | dd7fa90e0dfe11f013bdd5b691385c15257cc899 (patch) | |
| tree | 5e96ee84bc855ab7b2e75d4eaf897b5fcef76581 | |
| parent | 5ca542cadfe62e760d7f186f6d2b826e7ca38f11 (diff) | |
| download | poky-dd7fa90e0dfe11f013bdd5b691385c15257cc899.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-devtools/go/go-cross.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc index a0fbdbe3b9..ebee2e53cd 100644 --- a/meta/recipes-devtools/go/go-cross.inc +++ b/meta/recipes-devtools/go/go-cross.inc | |||
| @@ -5,6 +5,8 @@ DEPENDS = "go-native" | |||
| 5 | 5 | ||
| 6 | PN = "go-cross-${TUNE_PKGARCH}" | 6 | PN = "go-cross-${TUNE_PKGARCH}" |
| 7 | 7 | ||
| 8 | CCACHE_DISABLE = "1" | ||
| 9 | |||
| 8 | export GOCACHE = "${B}/.cache" | 10 | export GOCACHE = "${B}/.cache" |
| 9 | CC = "${@d.getVar('BUILD_CC').strip()}" | 11 | CC = "${@d.getVar('BUILD_CC').strip()}" |
| 10 | 12 | ||
