From 5ced950596835aca8873c4fd5449eca4c5f3d652 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Thu, 7 Apr 2016 11:48:24 -0500 Subject: [PATCH] rust: add missing 'ar' to target spec We need to make sure we're using the cross compiling ar instead of the system one. Signed-off-by: Doug Goldstein --- recipes-devtools/rust/rust.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/rust/rust.inc b/recipes-devtools/rust/rust.inc index 8e08adf..c494050 100644 --- a/recipes-devtools/rust/rust.inc +++ b/recipes-devtools/rust/rust.inc @@ -263,6 +263,7 @@ def rust_gen_target(d, thing, wd): tspec['env'] = "gnu" tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE', True), prefix) tspec['objcopy'] = "{}objcopy".format(prefix) + tspec['ar'] = "{}ar".format(prefix) tspec['cpu'] = d.getVar('TARGET_LLVM_CPU', True) if features is not "": tspec['features'] = features