Don't build with LTO on aarch64

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2020-10-20 08:52:25 -04:00
parent ab1676bdb3
commit a042b79552
No known key found for this signature in database
GPG key ID: 45DB85A568286D11

View file

@ -2,12 +2,17 @@
%bcond_with bootstrap %bcond_with bootstrap
%bcond_without python3_fixup %bcond_without python3_fixup
# LTO is currently broken on aarch64 builds
%ifarch aarch64
%define _lto_cflags %{nil}
%endif
# == Master Relase == # == Master Relase ==
# This is used by both the nodejs package and the npm subpackage thar # This is used by both the nodejs package and the npm subpackage thar
# has a separate version - the name is special so that rpmdev-bumpspec # has a separate version - the name is special so that rpmdev-bumpspec
# will bump this rather than adding .1 to the end. # will bump this rather than adding .1 to the end.
%global baserelease 1 %global baserelease 2
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
@ -672,6 +677,9 @@ end
%changelog %changelog
* Tue Oct 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.14.0-2
- Don't build with LTO on aarch64
* Mon Oct 19 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.14.0-1 * Mon Oct 19 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.14.0-1
- Update to 14.14.0 - Update to 14.14.0