mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-10 18:31:50 +01:00
25 lines
826 B
Diff
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) {
|
|
|