aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-pecl-swoole/arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/php7-pecl-swoole/arch.patch')
-rw-r--r--testing/php7-pecl-swoole/arch.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/php7-pecl-swoole/arch.patch b/testing/php7-pecl-swoole/arch.patch
new file mode 100644
index 0000000000..802af23a33
--- /dev/null
+++ b/testing/php7-pecl-swoole/arch.patch
@@ -0,0 +1,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?])