| Message ID | 5310fa2143a00878a2e1e411d8a05e59295662e1.1762632742.git.scott.murray@konsulko.com |
|---|---|
| State | New |
| Headers | show |
| Series | Update to Rust 1.90.0 | expand |
diff --git a/classes/rust-target-config.bbclass b/classes/rust-target-config.bbclass index 63c7e8c..a81532e 100644 --- a/classes/rust-target-config.bbclass +++ b/classes/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)