From 0e9b06d7c8f668d10b92fb64cbd36920a1ca372a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 7 Aug 2020 10:45:14 +0200 Subject: [PATCH] Disable LTO on arm temporarily --- prusa-slicer.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prusa-slicer.spec b/prusa-slicer.spec index bc6df62..88c97a7 100644 --- a/prusa-slicer.spec +++ b/prusa-slicer.spec @@ -31,6 +31,11 @@ Patch1: endian.patch %global _smp_ncpus_max 8 %endif +# See https://bugzilla.redhat.com/show_bug.cgi?id=1865257 +%ifarch %{arm} +%global _lto_cflags %{nil} +%endif + BuildRequires: boost-devel BuildRequires: cmake BuildRequires: cereal-devel