From fa6e578392cde44765b05dc761a0a2b1cc9fccfa Mon Sep 17 00:00:00 2001 From: m Date: Sat, 8 Oct 2022 19:04:35 +0200 Subject: [PATCH] build.sh: Pass --without-zstd for binutils (macOS fix) 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 --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index ebe82de..69d19ba 100755 --- a/build.sh +++ b/build.sh @@ -174,6 +174,7 @@ if [ "$BUILD_BINUTILS" == "yes" ] ; then --target="$TARGET" \ --disable-gdb \ --disable-sim \ + --without-zstd \ > "${LATEST_LOG}" 2>&1 echo " Building..."