This commit is contained in:
henderkes
2026-05-22 15:43:57 +07:00
parent 7ebc7c0275
commit 2b6d228bc3

View File

@@ -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';