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_without python3_fixup
# LTO is currently broken on aarch64 builds
%ifarch aarch64
%define _lto_cflags %{nil}
%endif
# == Master Relase ==
# 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
# will bump this rather than adding .1 to the end.
%global baserelease 1
%global baserelease 2
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
@ -672,6 +677,9 @@ end
%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
- Update to 14.14.0