[oe-commits] [openembedded-core] 06/19: goarch.bbclass: Set CCACHE_DISABLE

git at git.openembedded.org git at git.openembedded.org
Sat Jan 12 16:23:02 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 92a9ed1abdbc4befe2a065c9db91ce71c7e7d23e
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Tue Dec 18 10:50:28 2018 +0800

    goarch.bbclass: Set CCACHE_DISABLE
    
    Go can't be built with ccache.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/classes/goarch.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index b2c94fa..39fea5e 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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list