From c4f34f65e55532caddb0beb020064274afea22c9 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 8 May 2023 11:44:05 +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 2b7f5cb..0bff635 100644 --- a/php.spec +++ b/php.spec @@ -26,7 +26,7 @@ Name: php Version: %{upver} -Release: 1 +Release: 2 Summary: PHP scripting language for creating dynamic web sites License: PHP-3.01 and Zend-2.0 and BSD and MIT and ASL 1.0 and NCSA URL: http://www.php.net/ @@ -584,7 +584,7 @@ ln -sf ../configure --without-pear --with-exec-dir=%{_bindir} --without-gdbm --with-openssl \ --with-system-ciphers --with-pcre-regex=%{_prefix} --with-zlib --with-layout=GNU --with-kerberos \ --with-libxml-dir=%{_prefix} --with-system-tzdata --with-mhash \ -%ifarch riscv64 +%ifarch riscv64 loongarch64 --without-pcre-jit \ %endif %if %{with_argon2} @@ -1088,6 +1088,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %changelog +* Mon May 8 2023 Wenlong Zhang - 8.0.28-2 +- disable pcre-jit for loongarch64 + * Tue Feb 21 2023 Dillon Chen - 8.0.28-1 - CVE-2023-0567,CVE-2023-0568,CVE-2023-0662 - update to 8.0.28 -- Gitee