public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: - Fixed build error with clang20 in f42 and rawhide
@ 2026-08-07 16:07 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 34fff1ea7ffd70daacce0b18350359c78e194fd8
Author : Than Ngo <than@redhat.com>
Date : 2025-03-12T10:01:48+01:00
Stats : +2/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/34fff1ea7ffd70daacce0b18350359c78e194fd8?branch=epel9-next
Log:
- Fixed build error with clang20 in f42 and rawhide
- Fixed build error when using ccache
---
diff --git a/chromium-127-rust-clanglib.patch b/chromium-127-rust-clanglib.patch
index 3adf978..d419701 100644
--- a/chromium-127-rust-clanglib.patch
+++ b/chromium-127-rust-clanglib.patch
@@ -51,7 +51,7 @@ diff -up chromium-121.0.6167.57/build/config/clang/BUILD.gn.rust-clang_lib chrom
+ assert(false) # Unhandled cpu type
+ }
+ # different clang lib dir in fedora/epel
-+ if (clang_version == "17" || clang_version == "18" || clang_version == "19") {
++ if (clang_version == "17" || clang_version == "18" || clang_version == "19" || clang_version == "20") {
+ _suffix = ""
+ } else if (clang_version == "14" || clang_version == "15" || clang_version == "16") {
+ _libprefix = "64"
diff --git a/chromium.spec b/chromium.spec
index 5adf400..6fb326e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1232,7 +1232,7 @@ rust_sysroot_absolute="$(rustc --print sysroot)"
# set clang version
clang_version="$(clang --version | sed -n 's/clang version //p' | cut -d. -f1)"
%if 0%{?fedora} > 41
-clang_base_path="$(which clang | sed 's#/bin/.*##')"
+clang_base_path="$(PATH=/usr/bin:/usr/sbin which clang | sed 's#/bin/.*##')"
%else
clang_base_path="$(clang --version | grep InstalledDir | cut -d' ' -f2 | sed 's#/bin##')"
%endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:07 [rpms/chromium] epel9-next: - Fixed build error with clang20 in f42 and rawhide Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox