From dddcecbfc529a6551aed6bcff7c614656bc1cc5f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 12 Jun 2024 15:30:37 +0200 Subject: [PATCH] Fix Unknown command line argument '-split-threshold-for-reg-with-hint=0' on fedora < 40 --- chromium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromium.spec b/chromium.spec index 9e9ff3b4..4c558472 100644 --- a/chromium.spec +++ b/chromium.spec @@ -1247,7 +1247,7 @@ cp /opt/rh/%{toolset}-%{dts_version}/root/usr/include/c++/%{dts_version}/optiona %patch -P352 -p1 -b .workaround_for_crash_on_BTI_capable_system %endif -%if 0%{?rhel} && 0%{?rhel} < 10 || 0%{?fedora} && 0%{?fedora} < 39 +%if 0%{?rhel} && 0%{?rhel} < 10 || 0%{?fedora} && 0%{?fedora} < 40 %patch -P354 -p1 -b .split-threshold-for-reg-with-hint %endif