Fix C++17 caught by gcc-11

This commit is contained in:
Jeff Law 2020-10-27 15:39:31 -06:00
parent 67da9764dd
commit 99f8c32710

View File

@ -1,7 +1,7 @@
Summary: An API for Run-time Code Generation
License: LGPLv2+
Name: dyninst
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.dyninst.org
Version: 10.2.0
ExclusiveArch: %{ix86} x86_64 ppc64le aarch64
@ -13,6 +13,7 @@ Source1: https://github.com/dyninst/testsuite/archive/v10.1.0/testsuite-%{__test
Patch1: dyninst-10.2.0-pie.patch
Patch2: testsuite-10.1.0-gettid.patch
Patch3: testsuite-10.1.0-386.patch
Patch4: %{name}-gcc11.patch
%global dyninst_base dyninst-%{version}
%global testsuite_base testsuite-%{__testsuite_version}
@ -78,6 +79,7 @@ making sure that dyninst works properly.
%patch1 -p1 -b.pie
%patch2 -p1 -b.gettid
%patch3 -p1 -b.386
%patch4 -p1 -b .gcc11
# cotire seems to cause non-deterministic gcc errors
# https://bugzilla.redhat.com/show_bug.cgi?id=1420551
@ -173,6 +175,9 @@ echo "%{_libdir}/dyninst" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
%changelog
* Tue Oct 27 2020 Jeff Law <law@redhat.com> - 10.2.0-2
- Fix C++17 issue caught by gcc-11
* Tue Sep 01 2020 Stan Cox <scox@redhat.com> - 10.2.0-1
- Update to 10.2.0