Fix build options parsing

This commit is contained in:
halx99 2023-07-04 09:23:07 +08:00
parent 6b6fc25078
commit c725768193
1 changed files with 2 additions and 1 deletions

View File

@ -825,6 +825,7 @@ for ($i = 0; $i -lt $nopts; ++$i) {
if($optv -eq '--config') {
if ($i -lt ($nopts - 1)) {
$optimize_flag = $buildOptions[$i + 1]
++$i
}
break
}