From fccba571a2fa3ef1b005f4a3c2a8d29e6dd1e98a Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Fri, 4 Jun 2021 21:37:28 +0200 Subject: [PATCH] Ports/PHP: Disable PCRE JIT The PCRE JIT creates memory that needs to be readable, writable and executable at the same time. Serenity does not like this, so disable it. This JIT is of limited use for the current applications of PHP within Serenity anyway :-) --- Ports/php/package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Ports/php/package.sh b/Ports/php/package.sh index 9232ff6c4d..6ac8807720 100755 --- a/Ports/php/package.sh +++ b/Ports/php/package.sh @@ -10,6 +10,7 @@ configopts=" --prefix=${SERENITY_INSTALL_ROOT}/usr/local --with-iconv=${SERENITY_INSTALL_ROOT}/usr/local --with-zlib + --without-pcre-jit " export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2/"