Skip to content

Commit

Permalink
try fixing macos gcc builds 9
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jul 12, 2024
1 parent acbceee commit 11a9e82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11a9e82

Please sign in to comment.