mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
rust-common: override RUST_LIBC for crosssdk
For nativesdk/crosssdk, always glibc is used. Fixes build of rust-crosssdk if TCLIBC is set to musl. (From OE-Core rev: 67b4e0fdb13c81ab7e79109b6366fd7705b253ba) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
40d6b6baae
commit
ccef909c56
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user