Disable LTO

This commit is contained in:
Jeff Law 2020-07-01 16:17:19 -06:00
parent 4ae5eface3
commit b5af26084b

View File

@ -87,7 +87,7 @@
Name: systemtap
Version: 4.3
Release: 1%{?release_override}%{?dist}
Release: 2%{?release_override}%{?dist}
# for version, see also configure.ac
@ -509,6 +509,10 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
%setup -q
%build
# This package violates the C++ ODR rules for some objects and thus does
# not work with LTO. Once the ODR violations are fixed we should try
# LTO again
%define _lto_cflags %{nil}
# Enable/disable the dyninst pure-userspace backend
%if %{with_dyninst}
@ -1226,6 +1230,9 @@ done
# PRERELEASE
%changelog
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 4.3-2
- Disable LTO
* Thu Jun 11 2020 Frank Ch. Eigler <fche@redhat.com> - 4.3-1
- Upstream release.