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_without python3_fixup
# LTO is currently broken on aarch64 builds
%ifarch aarch64
# LTO is currently broken on Node.js builds
%define _lto_cflags %{nil}
%endif
# == Master Relase ==
# This is used by both the nodejs package and the npm subpackage thar