Disable LTO

Related: #1990096
Build without python3 fixup by default
This commit is contained in:
Zuzana Svetlikova 2022-06-20 17:08:17 +02:00
parent fd354d0be2
commit 7d57949211
1 changed files with 14 additions and 2 deletions

View File

@ -24,13 +24,20 @@
%bcond_with bundled
%endif
%bcond_without python3_fixup
%bcond_with python3_fixup
# LTO is currently broken on Node.js builds
%define _lto_cflags %{nil}
# Heavy-handed approach to avoiding issues with python
# bytecompiling files in the node_modules/ directory
%global __python %{__python3}
# == Master Relase ==
# This is used by both the nodejs package and the npm subpackage that
# 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}}
@ -692,6 +699,11 @@ end
%changelog
* Mon Jun 20 2022 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:18.2.0-2
- Disable LTO
- Related: #1990096
- Build without python3 fixup by default
* Tue May 31 2022 Jan Staněk <jstanek@redhat.com> - 1:18.2.0-1
- Rebase to version 18.2.0