Disable jit for RISC-V

This commit is contained in:
whoisxxx 2020-06-02 15:45:59 +08:00
parent 91ce2deda0
commit 2485043043

View File

@ -1,6 +1,6 @@
Name: pcre2 Name: pcre2
Version: 10.33 Version: 10.33
Release: 3 Release: 4
Summary: Perl Compatible Regular Expressions Summary: Perl Compatible Regular Expressions
License: BSD License: BSD
URL: http://www.pcre.org/ URL: http://www.pcre.org/
@ -54,7 +54,11 @@ autoreconf -vif
%build %build
%configure \ %configure \
%ifarch riscv64
--disable-jit \
%else
--enable-jit \ --enable-jit \
%endif
--enable-pcre2grep-jit \ --enable-pcre2grep-jit \
--disable-bsr-anycrlf \ --disable-bsr-anycrlf \
--disable-coverage \ --disable-coverage \
@ -120,6 +124,9 @@ make check
%{_pkgdocdir}/html/ %{_pkgdocdir}/html/
%changelog %changelog
* Tue Jun 2 2020 whoisxxx <zhangxuzhou4@huawei.com> - 10.33-4
- DESC: Disable jit for RISC-V
* Tue Apr 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 10.33-3 * Tue Apr 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 10.33-3
- Type:cves - Type:cves
- ID:CVE-2019-20454 - ID:CVE-2019-20454