Rebuilt with GCC 10.1

epel9
Guido Aulisi 5 years ago
parent 0a9adfc498
commit b94b1d6636

@ -3,7 +3,7 @@
Name: sord Name: sord
Version: 0.16.4 Version: 0.16.4
Release: 3%{?dist} Release: 4%{?dist}
Summary: A lightweight Resource Description Framework (RDF) C library Summary: A lightweight Resource Description Framework (RDF) C library
License: ISC License: ISC
@ -44,12 +44,6 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
%build %build
%set_build_flags %set_build_flags
# Work around a possible GCC 10 bug
# GCC 10 crashes on these arches in for loop with ZixBTreeIter
%ifarch %{power64} %{arm} aarch64
CFLAGS+=" -O1"
CXXFLAGS+=" -O1"
%endif
export LINKFLAGS="%{__global_ldflags}" export LINKFLAGS="%{__global_ldflags}"
python3 waf configure \ python3 waf configure \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
@ -84,6 +78,9 @@ install -pm 644 AUTHORS NEWS README.md COPYING %{buildroot}%{_pkgdocdir}
%{_mandir}/man3/%{name}*.3* %{_mandir}/man3/%{name}*.3*
%changelog %changelog
* Wed May 27 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-4
- Rebuilt with GCC 10.1
* Sun Mar 15 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-3 * Sun Mar 15 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-3
- Rebuilt for possible GCC 10 bug on power64 and arm - Rebuilt for possible GCC 10 bug on power64 and arm

Loading…
Cancel
Save