Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
chromium


Commits:
9b656ff4 by Levi Zim at 2025-10-14T14:43:01+02:00
Change _dir to linux for all architectures in compiler-rt-adjust-paths.patch

This helps building Chromium package for other architectures like riscv64.

- - - - -


1 changed file:

- compiler-rt-adjust-paths.patch


Changes:

=====================================
compiler-rt-adjust-paths.patch
=====================================
@@ -1,12 +1,11 @@
-diff -ura chromium-141.0.7390.54/build/config/clang/BUILD.gn 
chromium-141.0.7390.54.patched/build/config/clang/BUILD.gn
---- chromium-141.0.7390.54/build/config/clang/BUILD.gn  2025-10-01 
13:36:59.000000000 +0000
-+++ chromium-141.0.7390.54.patched/build/config/clang/BUILD.gn  2025-10-01 
13:42:38.977184172 +0000
-@@ -170,17 +170,22 @@
-         _dir = "darwin"
+diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
+index b171ee13ce7ed..d5b4e4fdcd0c8 100644
+--- a/build/config/clang/BUILD.gn
++++ b/build/config/clang/BUILD.gn
+@@ -171,16 +171,21 @@ template("clang_lib") {
        } else if (is_linux || is_chromeos) {
          if (current_cpu == "x64") {
--          _dir = "x86_64-unknown-linux-gnu"
-+          _dir = "linux"
+           _dir = "x86_64-unknown-linux-gnu"
 +          _suffix = "-x86_64"
          } else if (current_cpu == "x86") {
            _dir = "i386-unknown-linux-gnu"
@@ -25,3 +24,11 @@ diff -ura chromium-141.0.7390.54/build/config/clang/BUILD.gn 
chromium-141.0.7390
          } else if (current_cpu == "ppc64") {
            _dir = "ppc64le-unknown-linux-gnu"
          } else if (current_cpu == "s390x") {
+@@ -188,6 +193,7 @@ template("clang_lib") {
+         } else {
+           assert(false)  # Unhandled cpu type
+         }
++        _dir = "linux"
+       } else if (is_fuchsia) {
+         if (current_cpu == "x64") {
+           _dir = "x86_64-unknown-fuchsia"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/9b656ff48f74b5fd9bf80f36e5370a16309a45ec

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/9b656ff48f74b5fd9bf80f36e5370a16309a45ec
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to