From: Robert Yang Date: Tue, 18 Dec 2018 02:50:28 +0000 (+0800) Subject: goarch.bbclass: Set CCACHE_DISABLE X-Git-Tag: uninative-2.4~628 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cf64c9413a2264aa67e26c6302342ff4aa99a575;p=openembedded-core.git goarch.bbclass: Set CCACHE_DISABLE Go can't be built with ccache. Signed-off-by: Robert Yang --- 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):