diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-12-18 10:50:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-14 11:35:55 +0000 |
commit | 7a713b0fbf310c0b2b94aaa6caa555fe336bf85d (patch) | |
tree | bae595b50d7b98aba7f20bba42dc6b54b232b2e1 /meta/classes | |
parent | a3fc4196a244abd9b4ac6747f14c2e3a51630e14 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/goarch.bbclass | 4 |
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" | |||
42 | SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" | 42 | SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" |
43 | SECURITY_NOPIE_CFLAGS ??= "" | 43 | SECURITY_NOPIE_CFLAGS ??= "" |
44 | 44 | ||
45 | # go can't be built with ccache: | ||
46 | # gcc: fatal error: no input files | ||
47 | CCACHE_DISABLE ?= "1" | ||
48 | |||
45 | def go_map_arch(a, d): | 49 | def 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): |