|
|
|
author: Andres Salomon <dilinger@debian.org>
|
|
|
|
description: allow ppc64le to build by using proper rustc target
|
|
|
|
Index: chromium-128.0.6613.113/build/config/rust.gni
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/build/config/rust.gni
|
|
|
|
+++ chromium-128.0.6613.113/build/config/rust.gni
|
|
|
|
@@ -186,6 +186,8 @@ rust_abi_target = ""
|
|
|
|
if (is_linux || is_chromeos) {
|
|
|
|
if (current_cpu == "arm64") {
|
|
|
|
rust_abi_target = "aarch64-unknown-linux-gnu"
|
|
|
|
+ } else if (current_cpu == "ppc64") {
|
|
|
|
+ rust_abi_target = "powerpc64le-unknown-linux-gnu"
|
|
|
|
} else if (current_cpu == "x86") {
|
|
|
|
rust_abi_target = "i686-unknown-linux-gnu"
|
|
|
|
} else if (current_cpu == "x64") {
|