mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
oopsie
This commit is contained in:
@@ -21,7 +21,7 @@ trait libaom
|
|||||||
}
|
}
|
||||||
$targetCpu = SPCTarget::getTargetArch();
|
$targetCpu = SPCTarget::getTargetArch();
|
||||||
if (str_starts_with($targetCpu, 'aarch')) {
|
if (str_starts_with($targetCpu, 'aarch')) {
|
||||||
$targetCpu = str_replace($targetCpu, 'aarch', 'arm');
|
$targetCpu = str_replace('aarch', 'arm', $targetCpu);
|
||||||
}
|
}
|
||||||
if (!SystemUtil::findCommand('nasm') && !SystemUtil::findCommand('yasm')) {
|
if (!SystemUtil::findCommand('nasm') && !SystemUtil::findCommand('yasm')) {
|
||||||
$targetCpu = 'generic';
|
$targetCpu = 'generic';
|
||||||
|
|||||||
Reference in New Issue
Block a user