libpcre2: disable jit on x86_gcc2.

This commit is contained in:
Jerome Duval
2019-11-26 19:55:59 +01:00
parent f94d2a01d6
commit b7c2cbf316

View File

@@ -9,7 +9,7 @@ API."
HOMEPAGE="https://www.pcre.org/"
COPYRIGHT="1997-2017 University of Cambridge"
LICENSE="PCRE"
REVISION="1"
REVISION="2"
SOURCE_URI="https://downloads.sourceforge.net/pcre/pcre2-$portVersion.tar.bz2"
CHECKSUM_SHA256="74c473ffaba9e13db6951fd146e0143fe9887852ce73406a03277af1d9b798ca"
SOURCE_DIR="pcre2-$portVersion"
@@ -74,11 +74,15 @@ BUILD()
aclocal
autoconf
automake --add-missing
jitOption=--enable-jit
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
jitOption=--disable-jit
fi
runConfigure ./configure \
--with-pic \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-jit \
$jitOption \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-pcre2test-libedit \