| Message ID | 77052fec220c0cc0ad4e40abbf62bccd8573a1f2.1762633051.git.scott.murray@konsulko.com |
|---|---|
| State | New |
| Headers | show |
| Series | Update to Rust 1.90.0 | expand |
diff --git a/classes-recipe/rust-target-config.bbclass b/classes-recipe/rust-target-config.bbclass index 0377fcd..b9198c7 100644 --- a/classes-recipe/rust-target-config.bbclass +++ b/classes-recipe/rust-target-config.bbclass @@ -386,6 +386,10 @@ def rust_gen_target(d, thing, wd, arch): tspec['llvm-abiname'] = "ilp32d" if "loongarch64" in tspec['llvm-target']: tspec['llvm-abiname'] = "lp64d" + if "powerpc64le" in tspec['llvm-target']: + tspec['llvm-abiname'] = "elfv2" + if "powerpc64" in tspec['llvm-target']: + tspec['llvm-abiname'] = "elfv1" tspec['vendor'] = "unknown" tspec['target-family'] = "unix" tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix)