diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-22 14:02:26 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-30 14:58:28 -0700 |
commit | cab758f169e061159f445ff5234a2e57b34501fe (patch) | |
tree | 9a2dac3dde6c1f8664fa381891d9df1fbea302e1 | |
parent | d89de99cbbb171a21f37ce64dd9ec2ef79fa033a (diff) | |
download | meta-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_%.bbappend | 3 | ||||
-rw-r--r-- | recipes-devtools/rust/rust_%.bbappend | 4 |
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 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | inherit 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 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | inherit clang-native | ||
4 | |||