]> code.ossystems Code Review - openembedded-core.git/commitdiff
goarch.bbclass: Set CCACHE_DISABLE
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 18 Dec 2018 02:50:28 +0000 (10:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Jan 2019 11:21:57 +0000 (11:21 +0000)
Go can't be built with ccache.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/goarch.bbclass

index b2c94faddb7e0eadf09d718dd0bb2cfd4e0791b5..39fea5e3d1037a6c3eb0484094a96e7e66734f1d 100644 (file)
@@ -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):