From: Christian Eggers <ceggers@arri.de>
To: <openembedded-core@lists.openembedded.org>
Cc: Christian Eggers <ceggers@arri.de>
Subject: [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk
Date: Fri, 25 Mar 2022 07:52:23 +0100 [thread overview]
Message-ID: <20220325065226.14833-1-ceggers@arri.de> (raw)
For nativesdk/crosssdk, always glibc is used. Fixes build of
rust-crosssdk if TCLIBC is set to musl.
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
meta/classes/rust-common.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass
index 65ad677499cb..02a538258af6 100644
--- a/meta/classes/rust-common.bbclass
+++ b/meta/classes/rust-common.bbclass
@@ -16,6 +16,7 @@ RUST_PANIC_STRATEGY ?= "unwind"
# Native builds are not effected by TCLIBC. Without this, rust-native
# thinks it's "target" (i.e. x86_64-linux) is a musl target.
RUST_LIBC = "${TCLIBC}"
+RUST_LIBC:class-crosssdk = "glibc"
RUST_LIBC:class-native = "glibc"
def determine_libc(d, thing):
--
2.34.1
next reply other threads:[~2022-03-25 6:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-25 6:52 Christian Eggers [this message]
2022-03-25 6:52 ` [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk Christian Eggers
2022-03-25 6:52 ` [PATCH 3/4] rust-crosssdk: use ${RUST_LIBC} in ${PN} Christian Eggers
2022-03-25 6:52 ` [PATCH 4/4] librsvg: reenable nativesdk Christian Eggers
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=20220325065226.14833-1-ceggers@arri.de \
--to=ceggers@arri.de \
--cc=openembedded-core@lists.openembedded.org \
/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