diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-06-25 23:22:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-27 16:23:40 +0100 |
commit | f01cd7aeaf18a89afe9670a0ff0a8a0d46c02131 (patch) | |
tree | 7461ce2f360ab5f6022fcc3d958a5226b7b2959d /meta/recipes-devtools/rust/rust-source.inc | |
parent | fa8b714d7aedd941c419261d7cd248dce64b9ac4 (diff) | |
download | poky-f01cd7aeaf18a89afe9670a0ff0a8a0d46c02131.tar.gz |
rust-common.bbclass: move musl-specific linking fix from rust-source.inc
This needs to be done for any item that is linked under rustc,
and not just rust itself. Latest python-cryptography exposes the issue.
(From OE-Core rev: d3811228747590ea06e8d68be4785d45ec9c478f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index fbe2492fb4..a0a788f360 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -16,8 +16,3 @@ export TARGET_VENDOR | |||
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" | 17 | UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" |
18 | UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" | 18 | UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" |
19 | |||
20 | # see recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch | ||
21 | # we need to link with ssp_nonshared on musl to avoid "undefined reference to `__stack_chk_fail_local'" | ||
22 | # when building MACHINE=qemux86 for musl | ||
23 | WRAPPER_TARGET_EXTRALD:libc-musl = "-lssp_nonshared" | ||