From: Alexander Kanavin <[email protected]> This is a followup to an earlier fix, which did it only for rust-native; additional testing revealed that nativsdk and target builds have the same problem as they bootstrap the compiler by first building an internal native version that links with native llvm parts.
[YOCTO #16058] Signed-off-by: Alexander Kanavin <[email protected]> --- meta/recipes-devtools/rust/rust_1.94.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/rust/rust_1.94.0.bb b/meta/recipes-devtools/rust/rust_1.94.0.bb index 2be0bd8d89..cfee48ec78 100644 --- a/meta/recipes-devtools/rust/rust_1.94.0.bb +++ b/meta/recipes-devtools/rust/rust_1.94.0.bb @@ -124,8 +124,7 @@ python do_configure() { # [llvm] config.add_section("llvm") - if d.getVar('PN') == "rust-native": - config.set("llvm", "link-shared", e(True)) + config.set("llvm", "link-shared", e(True)) config.set("llvm", "static-libstdcpp", e(False)) config.set("llvm", "download-ci-llvm", e(False)) if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""): -- 2.47.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232809): https://lists.openembedded.org/g/openembedded-core/message/232809 Mute This Topic: https://lists.openembedded.org/mt/118245938/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
