Disable LTO on arm temporarily

This commit is contained in:
Miro Hrončok 2020-08-07 10:45:14 +02:00
parent 96833091ef
commit 0e9b06d7c8
1 changed files with 5 additions and 0 deletions

View File

@ -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