diff --git a/nodejs.spec b/nodejs.spec index 9926473..c1bc216 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -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 - 1:18.14.2-3 - Update bundled c-ares to 1.19.1