diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-10 21:10:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:45 +0100 |
commit | 463bcb876eef2a7faf50916e921b0d8ea0daefa5 (patch) | |
tree | ac9074d18d23a312d963acea3d77b2adcc2d9f8a /meta/recipes-devtools/rust/rust-common.inc | |
parent | 4abd6ee9d480437010e589ce215e20b835d3dad4 (diff) | |
download | poky-463bcb876eef2a7faf50916e921b0d8ea0daefa5.tar.gz |
rust: do not write ar into target json definitions
latest rust does not use it and prints a ton of warnings
because of it.
(From OE-Core rev: 320f2c5aa535237fab4f4a1e6f75358f53221459)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-common.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-common.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc index 153fa3aa97..797284316e 100644 --- a/meta/recipes-devtools/rust/rust-common.inc +++ b/meta/recipes-devtools/rust/rust-common.inc | |||
@@ -321,7 +321,6 @@ def rust_gen_target(d, thing, wd, features, cpu, arch): | |||
321 | tspec['vendor'] = "unknown" | 321 | tspec['vendor'] = "unknown" |
322 | tspec['target-family'] = "unix" | 322 | tspec['target-family'] = "unix" |
323 | tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix) | 323 | tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix) |
324 | tspec['ar'] = "{}ar".format(prefix) | ||
325 | tspec['cpu'] = cpu | 324 | tspec['cpu'] = cpu |
326 | if features != "": | 325 | if features != "": |
327 | tspec['features'] = features | 326 | tspec['features'] = features |