Re-enable LTO builds

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2022-06-27 17:02:54 -04:00
parent f015d07840
commit 690f39ef06
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
1 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@
# 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 4
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
@ -474,7 +474,8 @@ export LDFLAGS="%{build_ldflags}"
--with-intl=small-icu \
--with-icu-default-data-dir=%{icudatadir} \
--without-corepack \
--openssl-use-def-ca-store
--openssl-use-def-ca-store \
--enable-lto
%make_build BUILDTYPE=Release