Disable LTO on armv7hl for now
This commit is contained in:
parent
bc6b42a2dd
commit
2c6c52d214
12
botan.spec
12
botan.spec
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: botan
|
||||
Version: %{major_version}.17
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Summary: Crypto library written in C++
|
||||
|
||||
License: BSD
|
||||
|
@ -85,6 +85,13 @@ interfaces may change in the future.
|
|||
rm -rf checks/ec_tests.cpp
|
||||
|
||||
%build
|
||||
# This package fails to build on armv7 with LTO due to the usual problems
|
||||
# with NEON instructions. After we figure out the root cause of the failure
|
||||
# we'll hopefully be able to remove this opt-out
|
||||
%ifarch armv7hl
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
# we have the necessary prerequisites, so enable optional modules
|
||||
%global enable_modules bzip2,zlib
|
||||
|
||||
|
@ -191,6 +198,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 10 2020 Jeff Law <law@redhat.com> - 1.10.17-21
|
||||
- Disable LTO on armv7hl for now.
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue