From d45c9f075a9ff0b03b3efc25ba244f615fddd62c Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 15 Jan 2025 13:43:01 +0100 Subject: [PATCH] Fix build errors on EL9 --- chromium.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chromium.spec b/chromium.spec index c52151f1..23542954 100644 --- a/chromium.spec +++ b/chromium.spec @@ -1047,6 +1047,8 @@ Qt6 UI for chromium. %patch -P306 -p1 -b .el8-ifunc-header %endif %patch -P307 -p1 -b .el8-atk-compiler-error +%endif +%if 0%{?rhel} == 8 || 0%{?rhel} == 9 %patch -P308 -p1 -b .el8-unsupport-clang-flags %patch -P309 -p1 -b .el8-unsupport-rustc-flags %patch -P310 -p1 -b .el8-clang18-build-error