diff --git a/docs/en/guide/extension-notes.md b/docs/en/guide/extension-notes.md index 91ea531e..7b0f91aa 100644 --- a/docs/en/guide/extension-notes.md +++ b/docs/en/guide/extension-notes.md @@ -52,7 +52,7 @@ This extension contains an implementation of the coroutine environment for `pdo_ ## imagick -1. Openmp support is disabled, this is recommended by the maintainers and also the case system packages. +1. OpenMP support is disabled, this is recommended by the maintainers and also the case system packages. ## imap diff --git a/src/SPC/builder/linux/library/openssl.php b/src/SPC/builder/linux/library/openssl.php index 2a36fe81..76049ccc 100644 --- a/src/SPC/builder/linux/library/openssl.php +++ b/src/SPC/builder/linux/library/openssl.php @@ -62,7 +62,8 @@ class openssl extends LinuxLibraryBase $ex_lib = trim($ex_lib); - $clang_postfix = SystemUtil::getCCType() === 'clang' ? '-clang' : ''; + /* @phpstan-ignore-next-line */ + $clang_postfix = SystemUtil::getCCType() === 'clang' && (GNU_ARCH === 'x86_64' || PHP_OS_FAMILY === 'Darwin') ? '-clang' : ''; shell()->cd($this->source_dir)->initializeEnv($this) ->exec(