Enable JIT on s390x (Closes: #999836)
authorMatthew Vernon <matthew@debian.org>
Wed, 17 Nov 2021 14:48:26 +0000 (14:48 +0000)
committerMatthew Vernon <matthew@debian.org>
Wed, 17 Nov 2021 14:48:26 +0000 (14:48 +0000)
debian/rules

index 1d1e5b772a7147631a734ad56b2e3fecaab312bf..695f0cfdc1371fef1d1add00caf5e17a205fd39a 100755 (executable)
@@ -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 i386 amd64 armel armhf powerpc sparc arm64 ppc64 ppc64el, $(DEB_HOST_ARCH)),)
+ifneq ($(filter i386 amd64 armel armhf powerpc sparc arm64 ppc64 ppc64el s390x, $(DEB_HOST_ARCH)),)
 deb_maint_conf_args +=--enable-jit
 else
 deb_maint_conf_args +=--disable-jit