!21 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:01:14 +00:00 committed by Gitee
commit a5560621bc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: pcre
Version: 8.45
Release: 3
Release: 4
Summary: Perl Compatible Regular Expressions
## Source package only:
# INSTALL: FSFAP
@ -75,7 +75,7 @@ The %{name}-help package contains doc files for %{name}.
libtoolize -cf
autoreconf -vif
%configure \
%ifarch riscv64 sw_64
%ifarch riscv64 sw_64 loongarch64
--disable-jit \
%else
--enable-jit \
@ -116,6 +116,12 @@ make check VERBOSE=yes
%{_mandir}/man3/*
%changelog
* Mon Nov 14 2022 zhaozhen <zhaozhen@loongson.cn> - 8.45-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:fix build error for loongarch64 arch
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 8.45-3
- Add sw64 architecture