Toolchain: Statically link serenity cross-compiler on macOS to keep the cross-toolchain self contained

This commit is contained in:
Stefano Cristiano 2019-12-25 15:21:23 +01:00 committed by Andreas Kling
parent fe3311d458
commit 9537ce918c

View file

@ -75,6 +75,13 @@ pushd "$DIR/Tarballs"
else
echo "Skipped extracting gcc"
fi
if [ "$(uname)" = "Darwin" ]; then
pushd "gcc-${GCC_VERSION}"
./contrib/download_prerequisites
popd
fi
popd
mkdir -p "$PREFIX"