mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 14:55:39 +08:00
oopsie
This commit is contained in:
@@ -21,7 +21,7 @@ trait libaom
|
||||
}
|
||||
$targetCpu = SPCTarget::getTargetArch();
|
||||
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')) {
|
||||
$targetCpu = 'generic';
|
||||
|
||||
Reference in New Issue
Block a user