| Message ID | 20260626-ycongal-scarthgap-rust-segfault-v1-1-97df64b7b298@smile.fr |
|---|---|
| State | Accepted, archived |
| Commit | 74ba238ff1ba1e9b612aece1989b828f3a8f8770 |
| Delegated to: | Yoann Congal |
| Headers | show |
| Series | RFC: Fixing rust segfault (#16058) to support Ubuntu 26.04 on Scarthgap | expand |
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb index b9348bf05071016cf27880258e27babb3f2eec90..f037bb33715dc4ba7cbb489ab1599ac6c8c875a4 100644 --- a/meta/recipes-devtools/rust/rust_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust_1.75.0.bb @@ -128,6 +128,8 @@ python do_configure() { # [llvm] config.add_section("llvm") + if d.getVar('PN') == "rust-native": + config.set("llvm", "link-shared", e(True)) config.set("llvm", "static-libstdcpp", e(False)) if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""): config.set("llvm", "use-libcxx", e(True))