diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust.inc')
| -rw-r--r-- | meta/recipes-devtools/rust/rust.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 1c8fe225fd..d0f7467a88 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta/recipes-devtools/rust/rust.inc | |||
| @@ -83,6 +83,8 @@ python do_configure() { | |||
| 83 | 83 | ||
| 84 | config.set(host_section, "cxx", e(d.expand("${RUST_TARGET_CXX}"))) | 84 | config.set(host_section, "cxx", e(d.expand("${RUST_TARGET_CXX}"))) |
| 85 | config.set(host_section, "cc", e(d.expand("${RUST_TARGET_CC}"))) | 85 | config.set(host_section, "cc", e(d.expand("${RUST_TARGET_CC}"))) |
| 86 | if "musl" in host_section: | ||
| 87 | config.set(host_section, "musl-root", e(d.expand("${STAGING_DIR_HOST}${exec_prefix}"))) | ||
| 86 | 88 | ||
| 87 | # If we don't do this rust-native will compile it's own llvm for BUILD. | 89 | # If we don't do this rust-native will compile it's own llvm for BUILD. |
| 88 | # [target.${BUILD_ARCH}-unknown-linux-gnu] | 90 | # [target.${BUILD_ARCH}-unknown-linux-gnu] |
