1
0
Fork 0
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:
Marcelo Bezerra 2024-04-03 23:03:11 -04:00
parent 23967cbd9d
commit 03e8b62337

View file

@ -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}")