We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 781260f commit 17a25b4Copy full SHA for 17a25b4
1 file changed
src/SPC/builder/unix/library/postgresql.php
@@ -14,6 +14,11 @@ trait postgresql
14
public function patchBeforeBuild(): bool
15
{
16
if (SPCTarget::getLibcVersion() === '2.17' && GNU_ARCH === 'aarch64') {
17
+ FileSystem::replaceFileStr(
18
+ $this->source_dir . '/src/port/pg_popcount_aarch64.c',
19
+ 'value & HWCAP_SVE',
20
+ 'value & 0',
21
+ );
22
FileSystem::replaceFileStr(
23
$this->source_dir . '/src/port/pg_crc32c_armv8_choose.c',
24
'#if defined(__linux__) && !defined(__aarch64__) && !defined(HWCAP2_CRC32)',
0 commit comments