Revert "Enable LTO during build"

There are still issues (coredump when linking) on s390x architecture.

This reverts commit 7815f44b24.

Related: rhbz#1990096
This commit is contained in:
Jan Staněk 2023-07-13 18:20:10 +02:00
parent 7815f44b24
commit db3c62f675
No known key found for this signature in database
GPG Key ID: 2972F2037B243B6D

View File

@ -18,8 +18,7 @@
%bcond_with python3_fixup
# NodeJS uses it's own set of LTO flags, and is generally not compatible
# with globally enabling them; use the --enable-lto configure flag instead.
# LTO is currently broken on Node.js builds
%define _lto_cflags %{nil}
# Heavy-handed approach to avoiding issues with python
@ -426,7 +425,6 @@ export CFLAGS="%{optflags} ${extra_cflags[*]}" CXXFLAGS="%{optflags} ${extra_cfl
export LDFLAGS="%{build_ldflags}"
%{__python3} configure.py --prefix=%{_prefix} --verbose \
--enable-lto \
--shared-openssl \
--shared-zlib \
--shared-brotli \
@ -637,8 +635,6 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/nod
Resolves: CVE-2023-30581 CVE-2023-30588 CVE-2023-30589 CVE-2023-30590
- Replace /usr/etc/npmrc symlink with builtin configuration
Resolves: rhbz#2222285
- Enable LTO
Resolves: rhbz#1990096
* Tue May 30 2023 Jan Staněk <jstanek@redhat.com> - 1:18.14.2-3
- Update bundled c-ares to 1.19.1