diff options
author | 2023-12-01 16:09:42 -0800 | |
---|---|---|
committer | 2023-12-02 02:04:19 +0100 | |
commit | afc8f43c77eb74c9bb7b39a0b26445d7c8249585 (patch) | |
tree | 1f54320cdbb876759b3a36cbc948b7dc796d881d | |
parent | 3bcf281b981e599bd5e0e763485df658b47c82bf (diff) | |
download | openembedded-core-contrib-abelloni/master-next.tar.gz |
rust-common.bbclass: Define rust arch for x32 platformsabelloni/master-next
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | meta/classes-recipe/rust-common.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-recipe/rust-common.bbclass index 3d73a370ec..ae96d9c5b1 100644 --- a/meta/classes-recipe/rust-common.bbclass +++ b/meta/classes-recipe/rust-common.bbclass @@ -63,6 +63,8 @@ def rust_base_triple(d, thing): # This catches ARM targets and appends the necessary hard float bits if os == "linux-gnueabi" or os == "linux-musleabi": libc = bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hf', '', d) + elif os == "linux-gnux32" or os == "linux-muslx32": + libc = "" elif "musl" in os: libc = "-musl" os = "linux" |