!29 add loongarch support

From: @zhaozhen-zz 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-11-16 02:02:44 +00:00 committed by Gitee
commit 2b4fa50983
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: pcre2
Version: 10.39
Release: 4
Release: 5
Summary: Perl Compatible Regular Expressions
License: BSD
URL: http://www.pcre.org/
@ -69,7 +69,7 @@ autoreconf -vif
%build
%configure \
%ifarch riscv64 sw_64
%ifarch riscv64 sw_64 loongarch64
--disable-jit \
%else
--enable-jit \
@ -139,6 +139,12 @@ make check
%{_pkgdocdir}/html/
%changelog
* Mon Nov 14 2022 zhaozhen <zhaozhen@loongson.cn> - 10.39-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:fix build error for loongarch64
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 10.39-4
- Add sw64 architecture