mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Fix gcc download for mac silicon macos
This commit is contained in:
parent
23967cbd9d
commit
03e8b62337
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function(arm_none_eabi_gcc_install)
|
||||||
host_uname_machine(machine)
|
host_uname_machine(machine)
|
||||||
if(machine STREQUAL "x86_64" OR machine STREQUAL "amd64")
|
if(machine STREQUAL "x86_64" OR machine STREQUAL "amd64")
|
||||||
set(dist ${arm_none_eabi_darwin_amd64})
|
set(dist ${arm_none_eabi_darwin_amd64})
|
||||||
elseif(machine STREQUAL "aarch64")
|
elseif(machine STREQUAL "aarch64" OR machine STREQUAL "arm64")
|
||||||
set(dist ${arm_none_eabi_darwin_aarch64})
|
set(dist ${arm_none_eabi_darwin_aarch64})
|
||||||
else()
|
else()
|
||||||
message("-- no precompiled ${arm_none_eabi_triplet} toolchain for machine ${machine}")
|
message("-- no precompiled ${arm_none_eabi_triplet} toolchain for machine ${machine}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue