fix what character we look at to determind if arm version 7 or earlier (#537)
This commit is contained in:
Родитель
16195f1d8e
Коммит
acc0f4fe5b
|
@ -1479,7 +1479,7 @@ function getTargetArchitecture(compilerArgs: string): util.TargetArchitecture {
|
|||
targetArch = "arm";
|
||||
} else {
|
||||
// Check if ARM version is 7 or earlier.
|
||||
const verStr: string | undefined = arch?.substr(5, 1);
|
||||
const verStr: string | undefined = arch?.substr(4, 1);
|
||||
if (verStr) {
|
||||
const verNum: number = +verStr;
|
||||
if (verNum <= 7) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче