From e85102b10a0e6c2f5919590d6cfff8e92ea9321b Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 31 May 2024 12:50:11 +0200 Subject: [PATCH] add correct name compiler-rt on el7 --- chromium.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chromium.spec b/chromium.spec index f52d2c48..fe41e6b2 100644 --- a/chromium.spec +++ b/chromium.spec @@ -687,7 +687,11 @@ BuildRequires: pkgconfig(Qt6Core) BuildRequires: pkgconfig(Qt6Widgets) %endif +%if 0%{?rhel} == 7 +BuildRequires: llvm-toolset-%{llvm_toolset_version}-compiler-rt +%else BuildRequires: compiler-rt +%endif %if ! %{bundleharfbuzz} BuildRequires: harfbuzz-devel >= 2.4.0