From 2cd28e4a58f070609d87bea4e6f2353851597bcc Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 19 Jul 2024 11:12:09 +0200 Subject: [PATCH] disable is_cfi flag on ppc64le as it is not supported. https://bugzilla.redhat.com/show_bug.cgi?id=2298822 --- chromium.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chromium.spec b/chromium.spec index 35b8c4c6..b59b1528 100644 --- a/chromium.spec +++ b/chromium.spec @@ -177,11 +177,13 @@ # enable|disable control flow integrity support %global cfi 0 +%ifarch x86_64 aarch64 %if %{clang} %if 0%{?fedora} || 0%{?rhel} > 7 %global cfi 1 %endif %endif +%endif # set correct toolchain %if %{clang}