The previous findstring rune had failure modes with arches that were
substrings of each other; using filter avoids that and removes the
necessity of a $strip() call. Thanks to Colin Watson for the
suggestion.
deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32
#enable JIT only on architectures that support it (see pcre2jit.3)
-ifneq ($(strip $(findstring $(DEB_HOST_ARCH), i386 amd64 armel armhf mips mipsel mips64el powerpc sparc)),)
+ifneq ($(filter i386 amd64 armel armhf mips mipsel mips64el powerpc sparc arm64, $(DEB_HOST_ARCH)),)
deb_maint_conf_args +=--enable-jit
else
deb_maint_conf_args +=--disable-jit