diff --git a/openresty-pcre.spec b/openresty-pcre.spec index e481c39e6fee1cfccfa931c87b57cf6fd281fa11..365eea51e37b449ab3878459e887ca998922f0da 100644 --- a/openresty-pcre.spec +++ b/openresty-pcre.spec @@ -1,6 +1,6 @@ Name: openresty-pcre Version: 8.44 -Release: 1%{?dist} +Release: 2 Summary: Perl-compatible regular expression library for OpenResty Group: System Environment/Libraries @@ -67,7 +67,11 @@ export CC="ccache gcc -fdiagnostics-color=always" --prefix=%{pcre_prefix} \ --libdir=%{pcre_prefix}/lib \ --disable-cpp \ +%ifarch riscv64 + --disable-jit \ +%else --enable-jit \ +%endif --enable-utf \ --enable-unicode-properties @@ -80,7 +84,11 @@ export CC="ccache gcc -fdiagnostics-color=always" --prefix=%{pcre_prefix_asan} \ --libdir=%{pcre_prefix_asan}/lib \ --disable-cpp \ +%ifarch riscv64 + --disable-jit \ +%else --enable-jit \ +%endif --enable-utf \ --enable-unicode-properties @@ -131,5 +139,8 @@ rm -rf %{buildroot} %{pcre_prefix_asan}/include/*.h %changelog +* Fri Sep 15 2023 misaka00251 - 8.44-2 +- Fix build on riscv64 + * Thu Jul 22 2021 Fu Changjie 8.42-1 - Package init with openresty-pcre 8.42, without disable asan