summaryrefslogtreecommitdiff
path: root/Toolchain/BuildIt.sh
diff options
context:
space:
mode:
authorStefano Cristiano <sc@recognitionrobotics.com>2019-12-25 15:21:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-27 02:19:55 +0100
commit9537ce918c4d67109d49c727494ac7128149817f (patch)
treeba51441ea221deeaed55a69930bdec3a2c578104 /Toolchain/BuildIt.sh
parentfe3311d458593f44ea4bb84afffd771616771278 (diff)
downloadserenity-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-xToolchain/BuildIt.sh7
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"