Sophie

Sophie

distrib > Mageia > 9 > aarch64 > media > tainted-updates-src > by-pkgid > 53e82d52de6621aa4524e6ebb5d8f226 > files > 38

chromium-browser-stable-124.0.6367.60-1.mga9.tainted.src.rpm

--- patch122/build/rust/std/find_std_rlibs.py	2024-02-14 20:53:11.166531600 +0100
+++ patch122/build/rust/std/find_std_rlibs.py.i586	2024-03-19 21:29:29.423378010 +0100
@@ -50,7 +50,7 @@ def main():
   rustc_args = [rustc, "--print", "target-libdir"]
   if args.target:
     rustc_args.extend(["--target", args.target])
-  rustlib_dir = subprocess.check_output(rustc_args).rstrip().decode()
+  rustlib_dir = "/usr/lib/rustlib/i586-unknown-linux-gnu/lib"
 
   # Copy the rlibs to a predictable location. Whilst we're doing so,
   # also write a .d file so that ninja knows it doesn't need to do this
--- patch122/build/config/rust.gni	2024-02-14 20:53:11.138529300 +0100
+++ patch122/build/config/rust.gni.i586	2024-03-20 20:22:46.321981956 +0100
@@ -199,7 +199,7 @@ if (is_linux || is_chromeos) {
   if (current_cpu == "arm64") {
     rust_abi_target = "aarch64-unknown-linux-gnu"
   } else if (current_cpu == "x86") {
-    rust_abi_target = "i686-unknown-linux-gnu"
+    rust_abi_target = "i586-unknown-linux-gnu"
   } else if (current_cpu == "x64") {
     rust_abi_target = "x86_64-unknown-linux-gnu"
   } else if (current_cpu == "arm") {