add command to download prerequisites

This commit is contained in:
Pavel 2021-11-16 18:08:14 +01:00
parent 9be687a07a
commit c7d1def359

View file

@ -55,6 +55,12 @@ fi
echo "$TAG Extracting $ARCHIVE..." echo "$TAG Extracting $ARCHIVE..."
unxz -c < $ARCHIVE | tar -xf - unxz -c < $ARCHIVE | tar -xf -
# Download prerequisites
cd gcc-$VERSION
./contrib/download_prerequisites
cd ..
# Create build folder # Create build folder
[[ -d "build" ]] && rm -rf build [[ -d "build" ]] && rm -rf build