summaryrefslogtreecommitdiffstats
path: root/meta/classes/goarch.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-12-18 10:50:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-14 11:35:55 +0000
commit7a713b0fbf310c0b2b94aaa6caa555fe336bf85d (patch)
treebae595b50d7b98aba7f20bba42dc6b54b232b2e1 /meta/classes/goarch.bbclass
parenta3fc4196a244abd9b4ac6747f14c2e3a51630e14 (diff)
downloadpoky-7a713b0fbf310c0b2b94aaa6caa555fe336bf85d.tar.gz
goarch.bbclass: Set CCACHE_DISABLE
Go can't be built with ccache. (From OE-Core rev: cf64c9413a2264aa67e26c6302342ff4aa99a575) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/goarch.bbclass')
-rw-r--r--meta/classes/goarch.bbclass4
1 files changed, 4 insertions, 0 deletions
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"
42SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" 42SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}"
43SECURITY_NOPIE_CFLAGS ??= "" 43SECURITY_NOPIE_CFLAGS ??= ""
44 44
45# go can't be built with ccache:
46# gcc: fatal error: no input files
47CCACHE_DISABLE ?= "1"
48
45def go_map_arch(a, d): 49def go_map_arch(a, d):
46 import re 50 import re
47 if re.match('i.86', a): 51 if re.match('i.86', a):