From f45e5d7be2bc3c2ca216b36c7ec8802961cea32f Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Fri, 22 Jan 2021 14:49:04 +0100 Subject: [PATCH] Disabled LTO for Clang on armv7hl due to RHBZ#1918924. --- nheko.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nheko.spec b/nheko.spec index 336b8ca..1617b34 100644 --- a/nheko.spec +++ b/nheko.spec @@ -8,6 +8,10 @@ %if %{with clang} %global toolchain clang +# https://bugzilla.redhat.com/show_bug.cgi?id=1918924 +%ifarch %{arm} +%global _lto_cflags %{nil} +%endif %endif Name: nheko