summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/rust/rust.inc
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/rust/rust.inc')
-rw-r--r--poky/meta/recipes-devtools/rust/rust.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/rust/rust.inc b/poky/meta/recipes-devtools/rust/rust.inc
index f39228e3c0..ea716d31f2 100644
--- a/poky/meta/recipes-devtools/rust/rust.inc
+++ b/poky/meta/recipes-devtools/rust/rust.inc
@@ -98,6 +98,10 @@ python do_configure() {
config.set(target_section, "cxx", e(d.expand("${RUST_BUILD_CXX}")))
config.set(target_section, "cc", e(d.expand("${RUST_BUILD_CC}")))
+ # [llvm]
+ config.add_section("llvm")
+ config.set("llvm", "static-libstdcpp", e(False))
+
# [rust]
config.add_section("rust")
config.set("rust", "rpath", e(True))