From 11a9e8281295422718d9d58cc842a232e335a97e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 12 Jul 2024 11:31:09 +0200 Subject: [PATCH] try fixing macos gcc builds 9 --- _build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_build.sh b/_build.sh index 08687728e..f521f0f7f 100755 --- a/_build.sh +++ b/_build.sh @@ -736,7 +736,11 @@ build_single_target() { fi fi elif [ "${_OS}" = 'mac' ]; then - _TRIPLET="${_machine}-apple-darwin" + if [ "${_CC}" = 'gcc' ] && [ "${_machine}" = 'aarch64' ]; then + _TRIPLET="arm64-apple-darwin" + else + _TRIPLET="${_machine}-apple-darwin" + fi _RUN_BIN='echo' if [ "${_HOST}" = 'mac' ]; then