add loongarch support

This commit is contained in:
zhaozhen 2022-11-15 20:38:21 +08:00
parent 38bbe9db93
commit 892bc4699a

View File

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