Enable LTO

This commit is contained in:
Vitezslav Crhonek 2024-07-10 11:01:55 +02:00
parent 06811a98e7
commit 5359283629

View File

@ -21,7 +21,7 @@
#%%global betaver rc4
#%%define prerelease 1
%global baserelease 4
%global baserelease 5
Name: oniguruma
Version: %{mainver}%{?postver:.%postver}%{?gitversion:^%{?gitversion}}
@ -66,7 +66,7 @@ developing applications that use %{name}.
# This package fails its testsuite when compiled with LTO, but the real problem
# is that it ends up mixing and matching regexp bits between itself and glibc.
# Disable LTO
%define _lto_cflags %{nil}
#%%define _lto_cflags %%{nil}
%if 0%{?git_snapshot}
autoreconf -fi
@ -124,6 +124,9 @@ autoreconf -fi
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Wed Jul 10 2024 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.9.9-5
- Enable LTO
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.9.9-4
- Bump release for June 2024 mass rebuild