diff options
author | Stefano Cristiano <sc@recognitionrobotics.com> | 2019-12-25 15:21:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-27 02:19:55 +0100 |
commit | 9537ce918c4d67109d49c727494ac7128149817f (patch) | |
tree | ba51441ea221deeaed55a69930bdec3a2c578104 /Toolchain/BuildIt.sh | |
parent | fe3311d458593f44ea4bb84afffd771616771278 (diff) | |
download | serenity-9537ce918c4d67109d49c727494ac7128149817f.zip |
Toolchain: Statically link serenity cross-compiler on macOS to keep the cross-toolchain self contained
Diffstat (limited to 'Toolchain/BuildIt.sh')
-rwxr-xr-x | Toolchain/BuildIt.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 58bff6a752..1c3dbf9ed5 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -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" |