aports/community/thunderbird/rust1.90-ppc.patch
Jens Reidel 079d485d6f community/thunderbird: fix build and enable for ppc64le
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
2025-12-10 14:51:29 +01:00

25 lines
826 B
Diff

Ref: https://github.com/rust-lang/cc-rs/issues/1581, https://github.com/rust-lang/cc-rs/pull/1596
---
--- a/third_party/rust/cc/src/target/llvm.rs
+++ b/third_party/rust/cc/src/target/llvm.rs
@@ -98,6 +98,7 @@
"llvm" | "softfloat" | "uwp" | "vec-extabi" => "",
"ilp32" => "_ilp32",
"abi64" => "",
+ "elfv1" | "elfv2" => "",
abi => abi,
};
Cow::Owned(match (vendor, env, abi) {
--- a/comm/third_party/rust/cc/src/target/llvm.rs
+++ b/comm/third_party/rust/cc/src/target/llvm.rs
@@ -98,6 +98,7 @@
"llvm" | "softfloat" | "uwp" | "vec-extabi" => "",
"ilp32" => "_ilp32",
"abi64" => "",
+ "elfv1" | "elfv2" => "",
abi => abi,
};
Cow::Owned(match (vendor, env, abi) {