mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
19 lines
732 B
Diff
19 lines
732 B
Diff
Do not add -latomic ever; macOS does not have it, not even on ARM.
|
|
Reverts https://github.com/openswoole/swoole-src/commit/63d95ec9ea3d9e1de5d78cc705b8da04cfd42f7f
|
|
Only affects PHP 7.3.x and earlier.
|
|
https://github.com/openswoole/swoole-src/issues/131
|
|
--- config.m4.orig 2022-01-24 16:16:52.000000000 -0600
|
|
+++ config.m4 2022-01-24 20:16:13.000000000 -0600
|
|
@@ -832,11 +832,6 @@
|
|
AC_DEFINE(SW_USE_ASM_CONTEXT, 1, [use boost asm context])
|
|
fi
|
|
|
|
- # 32-bit ARM
|
|
- if test "$SW_CPU" = "arm"; then
|
|
- PHP_ADD_LIBRARY(atomic, 1, OPENSWOOLE_SHARED_LIBADD)
|
|
- fi
|
|
-
|
|
PHP_NEW_EXTENSION(openswoole, $swoole_source_file, $ext_shared,, "$EXTRA_CFLAGS -DENABLE_PHP_SWOOLE", cxx)
|
|
|
|
PHP_ADD_INCLUDE([$ext_srcdir])
|