Skip to content

Commit

Permalink
ci: Handle case where prebuilt was cached but brew install binutils
Browse files Browse the repository at this point in the history
  • Loading branch information
btashton committed Sep 28, 2020
1 parent 1efd200 commit 68b6c91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ function binutils {
case $os in
Darwin)
brew install binutils
# It is possible we cached prebuilt but did brew install so recreate
# simlink if it exists
rm -f $prebuilt/bintools/bin/objcopy
ln -s /usr/local/opt/binutils/bin/objcopy $prebuilt/bintools/bin/objcopy
;;
esac
Expand Down

0 comments on commit 68b6c91

Please sign in to comment.