From 3fa480ee290fdf4e842fa3aa3e37d46bbdccd417 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 8 May 2023 11:35:59 +0800 Subject: [PATCH] disable pcre-jit for loongarch64 --- php.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php.spec b/php.spec index 2819b58..ea29086 100644 --- a/php.spec +++ b/php.spec @@ -28,7 +28,7 @@ Name: php Version: %{upver} -Release: 1 +Release: 2 Summary: PHP scripting language for creating dynamic web sites License: PHP-3.01 and Zend and BSD and MIT and ASL 1.0 and NCSA and Boost URL: http://www.php.net/ @@ -717,7 +717,7 @@ ln -sf ../configure --with-system-ciphers \ --with-external-pcre \ --with-external-libcrypt \ -%ifarch s390 s390x sparc64 sparcv9 riscv64 +%ifarch s390 s390x sparc64 sparcv9 riscv64 loongarch64 --without-pcre-jit \ %endif --with-zlib \ @@ -1330,6 +1330,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %{_mandir}/* %changelog +* Mon May 8 2023 Wenlong Zhang - 8.2.3-2 +- disable pcre-jit for loongarch64 + * Tue Feb 21 2023 Dillon Chen - 8.2.3-1 - CVE-2023-0567,CVE-2023-0568,CVE-2023-0662 - update to 8.2.3 -- Gitee