Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
build.sh: Pass --without-zstd for binutils (macOS fix)
Browse files Browse the repository at this point in the history
When building fat binaries for mavOS we got the following error:

  ld: warning: ignoring file /usr/local/Cellar/.../libzstd.dylib,
  building for macOS-arm64 but attempting to link with file built
  for macOS-x86_64
  • Loading branch information
mbitsnbites committed Oct 8, 2022
1 parent 8b5ad72 commit fa6e578
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ if [ "$BUILD_BINUTILS" == "yes" ] ; then
--target="$TARGET" \
--disable-gdb \
--disable-sim \
--without-zstd \
> "${LATEST_LOG}" 2>&1

echo " Building..."
Expand Down

0 comments on commit fa6e578

Please sign in to comment.