Skip to content

Commit 39a9840

Browse files
committed
why is phpstan so stupid about this constant?
1 parent 866ca26 commit 39a9840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/extension/opcache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function getUnixConfigureArg(bool $shared = false): string
5252
if ((SPCTarget::getTargetOS() === 'Linux' &&
5353
SPCTarget::getLibc() === 'musl' &&
5454
$this->builder->getOption('enable-zts') &&
55-
GNU_ARCH === 'x86_64' &&
55+
arch2gnu(php_uname('m')) === 'x86_64' &&
5656
$phpVersionID < 80500) ||
5757
$this->builder->getOption('disable-opcache-jit')
5858
) {

0 commit comments

Comments
 (0)