[php-src] PR #11796: Fix '++nothing+crc' is not a recognized feature for target when compiling M1 / M2 macOS
| From: | youkidearitai | Date: | Wed, 26 Jul 2023 04:36:00 +0000 |
| Subject: | [php-src] PR #11796: Fix '++nothing+crc' is not a recognized feature for target when compiling M1 / M2 macOS | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23172@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11796
Author: youkidearitai
#pragma GCC target("+nothing+crc") is means clear outs aarch64_isa_flags.
However, #pragma clang attribute push(__attribute__((target("+nothing+crc")
is not means any, then displays ignore feature. (Not reproduce Linux on ARM (ex: Raspberry Pi))
Therefore, Add new #pragma when compiling on M1/M2 macOS.