public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Set clang_base_path correctly for f43 and later
@ 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 : dd44f0abc6bba0df70af53b5a7a7f898d38e396c
Author : Than Ngo <than@redhat.com>
Date   : 2025-02-11T20:50:45+01:00
Stats  : +4/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/dd44f0abc6bba0df70af53b5a7a7f898d38e396c?branch=epel9-next

Log:
Set clang_base_path correctly for f43 and later

---
diff --git a/chromium.spec b/chromium.spec
index 30f6ee1..9bcf736 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1244,7 +1244,11 @@ 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} > 42
+clang_base_path="/usr"
+%else
 clang_base_path="$(clang --version | grep InstalledDir | cut -d' ' -f2 | sed 's#/bin##')"
+%endif
 
 # Core defines are flags that are true for both the browser and headless.
 CHROMIUM_CORE_GN_DEFINES=""

^ 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: Set clang_base_path correctly for f43 and later Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox