summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rust/rust.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc
index a33eb00e25..956301023a 100644
--- a/meta/recipes-devtools/rust/rust.inc
+++ b/meta/recipes-devtools/rust/rust.inc
@@ -110,6 +110,8 @@ python do_configure() {
110 # [llvm] 110 # [llvm]
111 config.add_section("llvm") 111 config.add_section("llvm")
112 config.set("llvm", "static-libstdcpp", e(False)) 112 config.set("llvm", "static-libstdcpp", e(False))
113 if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""):
114 config.set("llvm", "use-libcxx", e(True))
113 115
114 # [rust] 116 # [rust]
115 config.add_section("rust") 117 config.add_section("rust")