From 03e8b62337db6df17ddee2697cb6e2ef5c1f38f6 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 3 Apr 2024 23:03:11 -0400 Subject: [PATCH] Fix gcc download for mac silicon macos --- cmake/arm-none-eabi-checks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/arm-none-eabi-checks.cmake b/cmake/arm-none-eabi-checks.cmake index 200065fdd4..f31a26c3e3 100644 --- a/cmake/arm-none-eabi-checks.cmake +++ b/cmake/arm-none-eabi-checks.cmake @@ -47,7 +47,7 @@ function(arm_none_eabi_gcc_install) host_uname_machine(machine) if(machine STREQUAL "x86_64" OR machine STREQUAL "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}) else() message("-- no precompiled ${arm_none_eabi_triplet} toolchain for machine ${machine}")