From: Matthew Vernon Date: Tue, 29 Aug 2023 17:22:58 +0000 (+0100) Subject: Compile JIT on riscv64 (Closes: #1050819) X-Git-Tag: archive/raspbian/10.45-1+rpi1~1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=28c7ae5ad3f068e29fb6476ce02d3d0e044b4ce6;p=pcre2.git Compile JIT on riscv64 (Closes: #1050819) Not quite the submitter's patch, because I got distracted by the arch list not being sorted... --- diff --git a/debian/rules b/debian/rules index 428e5da..0a19a90 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ export DEB_CFLAGS_MAINT_APPEND = -Dregcomp=PCRE2regcomp -Dregexec=PCRE2regexec - deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout #enable JIT only on architectures that support it (see pcre2jit.3) -ifneq ($(filter amd64 armel armhf arm64 i386 mips mipsel mips64el powerpc ppc64 ppc64el s390x, $(DEB_HOST_ARCH)),) +ifneq ($(filter amd64 armel armhf arm64 i386 mips mipsel mips64el powerpc ppc64 ppc64el riscv64 s390x, $(DEB_HOST_ARCH)),) deb_maint_conf_args +=--enable-jit else deb_maint_conf_args +=--disable-jit