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