Skip to content

Commit dca7dfe

Browse files
fossddsertonix
andcommitted
Add elf abi to ppc64 targets
Related to the Rust 1.90.0 to "expose elf abi on ppc64 targets": rust-lang/rust#142321 Without this, build (e.g. firefox) fails on powerpc targets with the error message: warning: glslopt@0.1.11: clang-20: error: version 'elfv2' in target triple 'powerpc64le-alpine-linux-muslelfv2' is invalid Closes: rust-lang#1581 Co-Authored-By: Sertonix <sertonix@posteo.net>
1 parent 87e5fae commit dca7dfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/target/llvm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ impl TargetInfo<'_> {
9898
"llvm" | "softfloat" | "uwp" | "vec-extabi" => "",
9999
"ilp32" => "_ilp32",
100100
"abi64" => "",
101+
"elfv1" | "elfv2" => "",
101102
abi => abi,
102103
};
103104
Cow::Owned(match (vendor, env, abi) {

0 commit comments

Comments
 (0)