Skip to content

Commit 721bd97

Browse files
committed
Fixed CPU detection
1 parent 7be5e78 commit 721bd97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/opcache/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if test "$PHP_OPCACHE" != "no"; then
2929

3030
if test "$PHP_OPCACHE_JIT" = "yes"; then
3131
case $host_cpu in
32-
i[34567]86*|x86*)
32+
i[[34567]]86*|x86*)
3333
;;
3434
*)
3535
AC_MSG_WARN([JIT not supported by host architecture])
@@ -52,7 +52,7 @@ if test "$PHP_OPCACHE" != "no"; then
5252
DASM_FLAGS="-D X64=1"
5353
DASM_ARCH="x86"
5454
;;
55-
i[34567]86*)
55+
i[[34567]]86*)
5656
DASM_ARCH="x86"
5757
;;
5858
x86*)

ext/pcre/config0.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if test "$PHP_EXTERNAL_PCRE" != "no"; then
4040
[
4141
AC_CANONICAL_HOST
4242
case $host_cpu in
43-
arm*|i[34567]86|x86_64|mips*|powerpc*|sparc)
43+
arm*|i[[34567]]86|x86_64|mips*|powerpc*|sparc)
4444
ac_cv_have_pcre2_jit=yes
4545
;;
4646
*)

0 commit comments

Comments
 (0)