summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-22 14:02:26 -0700
committerKhem Raj <raj.khem@gmail.com>2022-08-30 14:58:28 -0700
commitcab758f169e061159f445ff5234a2e57b34501fe (patch)
tree9a2dac3dde6c1f8664fa381891d9df1fbea302e1
parentd89de99cbbb171a21f37ce64dd9ec2ef79fa033a (diff)
downloadmeta-clang-cab758f169e061159f445ff5234a2e57b34501fe.tar.gz
rust-llvm,rust: Use libc++ when RUNTIME = "llvm"
Use clang to do native builds as well this ensures that concerned dependencies are not asking for different runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-devtools/rust/rust-llvm_%.bbappend3
-rw-r--r--recipes-devtools/rust/rust_%.bbappend4
2 files changed, 7 insertions, 0 deletions
diff --git a/recipes-devtools/rust/rust-llvm_%.bbappend b/recipes-devtools/rust/rust-llvm_%.bbappend
new file mode 100644
index 0000000..09963d1
--- /dev/null
+++ b/recipes-devtools/rust/rust-llvm_%.bbappend
@@ -0,0 +1,3 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2
3inherit clang-native
diff --git a/recipes-devtools/rust/rust_%.bbappend b/recipes-devtools/rust/rust_%.bbappend
new file mode 100644
index 0000000..4d7022f
--- /dev/null
+++ b/recipes-devtools/rust/rust_%.bbappend
@@ -0,0 +1,4 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2
3inherit clang-native
4