aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-pecl-swoole/arch.patch
blob: 802af23a33f2308c4ddeabad8d4542d8deff104d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/config.m4 b/config.m4
index 657072fd..84415bf4 100644
--- a/config.m4
+++ b/config.m4
@@ -526,9 +526,9 @@ if test "$PHP_SWOOLE" != "no"; then
 
     AS_CASE([$host_cpu],
       [x86_64*], [SW_CPU="x86_64"],
-      [x86*], [SW_CPU="x86"],
+      [i586*], [SW_CPU="x86"],
       [arm*], [SW_CPU="arm"],
-      [arm64*], [SW_CPU="arm64"],
+      [aarch64*], [SW_CPU="arm64"],
       [
         SW_NO_USE_ASM_CONTEXT="yes"
         AC_DEFINE([SW_NO_USE_ASM_CONTEXT], 1, [use boost asm context?])