From a042b795522128838140f15a3019f0cc42a63781 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 20 Oct 2020 08:52:25 -0400 Subject: [PATCH] Don't build with LTO on aarch64 Signed-off-by: Stephen Gallagher --- nodejs.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nodejs.spec b/nodejs.spec index 96bfaff..0aa6bfb 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -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 - 1:14.14.0-2 +- Don't build with LTO on aarch64 + * Mon Oct 19 2020 Stephen Gallagher - 1:14.14.0-1 - Update to 14.14.0