From: pgowda.cve@gmail.com
To: openembedded-core@lists.openembedded.org
Cc: richard.purdie@linuxfoundation.org, Randy.MacLeod@windriver.com,
vinay.m.engg@gmail.com, pgowda <pgowda.cve@gmail.com>
Subject: [PATCH] rust: Fix cross compilation error for rust-testuite
Date: Sun, 4 Sep 2022 12:38:59 +0530 [thread overview]
Message-ID: <20220904070859.2706350-1-pgowda.cve@gmail.com> (raw)
From: pgowda <pgowda.cve@gmail.com>
Fixes the following error while building the rust-testuite
error: linker cc not found
Signed-off-by: pgowda <pgowda.cve@gmail.com>
---
meta/recipes-devtools/rust/rust.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc
index 284347dedc..a3d93eca4a 100644
--- a/meta/recipes-devtools/rust/rust.inc
+++ b/meta/recipes-devtools/rust/rust.inc
@@ -116,6 +116,9 @@ python do_configure() {
# Whether or not to optimize the compiler and standard library
config.set("rust", "optimize", e(True))
+ # Override default linker cc.
+ config.set("rust", "default-linker", e(d.expand("${RUST_BUILD_CCLD}")))
+
# [build]
config.add_section("build")
config.set("build", "submodules", e(False))
--
2.25.1
next reply other threads:[~2022-09-04 7:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 7:08 pgowda.cve [this message]
2022-09-04 21:41 ` [PATCH] rust: Fix cross compilation error for rust-testuite Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220904070859.2706350-1-pgowda.cve@gmail.com \
--to=pgowda.cve@gmail.com \
--cc=Randy.MacLeod@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
--cc=vinay.m.engg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox