Skip to content

Commit

Permalink
_build.sh: fix regression in mac builds [ci skip]
Browse files Browse the repository at this point in the history
Regression from 8aa9ed5
  • Loading branch information
vszakats committed Oct 15, 2023
1 parent f55f424 commit 6bd8aab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,8 @@ build_single_target() {
_LD='lld'
fi

if [ "${_TOOLCHAIN}" != 'llvm-mingw' ]; then # llvm-mingw uses these tools by default
if [ "${_TOOLCHAIN}" != 'llvm-mingw' ] && \
[ "${_TOOLCHAIN}" != 'llvm-apple' ]; then
_BINUTILS_PREFIX='llvm-'
_BINUTILS_SUFFIX="${_CCSUFFIX}"
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -fuse-ld=lld${_CCSUFFIX}"
Expand Down

0 comments on commit 6bd8aab

Please sign in to comment.