From cf64c9413a2264aa67e26c6302342ff4aa99a575 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 18 Dec 2018 10:50:28 +0800 Subject: goarch.bbclass: Set CCACHE_DISABLE Go can't be built with ccache. Signed-off-by: Robert Yang --- meta/classes/goarch.bbclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index b2c94faddb..39fea5e3d1 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): -- cgit 1.2.3-korg