Disable LTO

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2021-01-04 15:58:35 -05:00
parent 74b49c257f
commit 9f1a56347d
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -2,11 +2,8 @@
%bcond_with bootstrap %bcond_with bootstrap
%bcond_without python3_fixup %bcond_without python3_fixup
# LTO is currently broken on aarch64 builds # LTO is currently broken on Node.js builds
%ifarch aarch64
%define _lto_cflags %{nil} %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