Disable the JIT on riscv64.
Build fails with: src/pcre2_jit_compile.c:81:2: error: #error Unsupported architecture #error Unsupported architecture ^~~~~ This is analogous to the same change made for pcre (commit a276af83c829ae0589a27d5efb8dc97ce7195f3d).
This commit is contained in:
parent
14e4e93702
commit
ec745f21c3
@ -2,7 +2,7 @@
|
|||||||
#%%global rcversion RC1
|
#%%global rcversion RC1
|
||||||
Name: pcre2
|
Name: pcre2
|
||||||
Version: 10.22
|
Version: 10.22
|
||||||
Release: %{?rcversion:0.}3%{?rcversion:.%rcversion}%{?dist}
|
Release: %{?rcversion:0.}4%{?rcversion:.%rcversion}%{?dist}
|
||||||
%global myversion %{version}%{?rcversion:-%rcversion}
|
%global myversion %{version}%{?rcversion:-%rcversion}
|
||||||
Summary: Perl-compatible regular expression library
|
Summary: Perl-compatible regular expression library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -141,7 +141,7 @@ autoreconf -vif
|
|||||||
%global optflags %{optflags} -fno-strict-aliasing
|
%global optflags %{optflags} -fno-strict-aliasing
|
||||||
%endif
|
%endif
|
||||||
%configure \
|
%configure \
|
||||||
%ifarch s390 s390x sparc64 sparcv9
|
%ifarch s390 s390x sparc64 sparcv9 riscv64
|
||||||
--disable-jit \
|
--disable-jit \
|
||||||
--disable-pcre2grep-jit \
|
--disable-pcre2grep-jit \
|
||||||
%else
|
%else
|
||||||
@ -227,6 +227,9 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|||||||
%{_mandir}/man1/pcre2test.*
|
%{_mandir}/man1/pcre2test.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 19 2016 Richard W.M. Jones <@redhat.com> - 10.22-4
|
||||||
|
- Disable the JIT on riscv64.
|
||||||
|
|
||||||
* Wed Oct 19 2016 Petr Pisar <ppisar@redhat.com> - 10.22-3
|
* Wed Oct 19 2016 Petr Pisar <ppisar@redhat.com> - 10.22-3
|
||||||
- Fix displaying a callout position in pcretest output with an escape sequence
|
- Fix displaying a callout position in pcretest output with an escape sequence
|
||||||
greater than \x{ff}
|
greater than \x{ff}
|
||||||
|
Loading…
Reference in New Issue
Block a user