mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
rust: Fix build failure on riscv32
Latest rust has started using ENOTSUP define, which is not available in the older libc that current release of compiler is using therefore backport the needed patch. Eventually when vendored version of libc bumps to 1.33+ we should not need this patch. (From OE-Core rev: 097e38f28990229c3f54f4e6cb74ca8be0b806e6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust"
|
||||
SRC_URI[rust.sha256sum] = "8f44af6dc44cc4146634a4dd5e4cc5470b3052a2337019b870c0e025e8987e0c"
|
||||
|
||||
SRC_URI:append:class-target:pn-rust = " file://hardcodepaths.patch"
|
||||
SRC_URI:append:class-target:pn-rust = " \
|
||||
file://hardcodepaths.patch \
|
||||
file://0001-Add-ENOTSUP-constant-for-riscv32-musl.patch"
|
||||
SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch"
|
||||
|
||||
RUSTSRC = "${WORKDIR}/rustc-${PV}-src"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user