diff --git a/src/SPC/builder/unix/library/postgresql.php b/src/SPC/builder/unix/library/postgresql.php index 25d74cf0..4e3c4f7b 100644 --- a/src/SPC/builder/unix/library/postgresql.php +++ b/src/SPC/builder/unix/library/postgresql.php @@ -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',