arm64 fix

This commit is contained in:
henderkes 2025-10-06 22:50:37 +02:00
parent 864db0ebc5
commit 15cd8543f1

View File

@ -17,8 +17,8 @@ trait postgresql
if (SPCTarget::getLibcVersion() === '2.17' && GNU_ARCH === 'aarch64') {
FileSystem::replaceFileStr(
$this->source_dir . '/src/port/pg_popcount_aarch64.c',
'value & HWCAP_SVE',
'value & 0',
'HWCAP_SVE',
'0',
);
FileSystem::replaceFileStr(
$this->source_dir . '/src/port/pg_crc32c_armv8_choose.c',