fix GCC dependencies

This commit is contained in:
Yann MAGNIN 2021-11-17 21:12:42 +01:00
parent 877820011c
commit 5504805f1b
2 changed files with 6 additions and 3 deletions

View File

@ -66,9 +66,6 @@ fi
mkdir -p ../../build/gcc/build
cd ../../build/gcc/build
# Install dependencies
../gcc/contrib/download_prerequisites
#

View File

@ -121,6 +121,12 @@ cp -r ../../patchs/gcc/$VERSION/* ./gcc-$VERSION/
[[ -d ./gcc ]] && rm -rf ./gcc
mv ./gcc-$VERSION/ ./gcc
# Install dependencies
cd gcc
./contrib/download_prerequisites
cd ..
# Symlink as, ld, ar and ranlib, which gcc will not find by itself (we renamed
# them from sh3eb-elf-* to sh-elf-* with --program-prefix).