[OE-core] [PATCH V3 08/11] goarch.bbclass: Set CCACHE_DISABLE

Robert Yang liezhi.yang at windriver.com
Tue Dec 18 07:18:08 UTC 2018


Go can't be built with ccache.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/classes/goarch.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index b2c94fa..39fea5e 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -42,6 +42,10 @@ TUNE_CCARGS_remove = "-march=mips32r2"
 SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}"
 SECURITY_NOPIE_CFLAGS ??= ""
 
+# go can't be built with ccache:
+# gcc: fatal error: no input files
+CCACHE_DISABLE ?= "1"
+
 def go_map_arch(a, d):
     import re
     if re.match('i.86', a):
-- 
2.7.4



More information about the Openembedded-core mailing list