public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk
@ 2022-03-25  6:52 Christian Eggers
  2022-03-25  6:52 ` [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk Christian Eggers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Eggers @ 2022-03-25  6:52 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christian Eggers

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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-25  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25  6:52 [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk Christian Eggers
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox