[bootstrap] add missing newlib on Ubuntu >= 20.04 (#5100)

This commit is contained in:
Marvin ROGER
2020-06-15 20:15:30 +02:00
committed by GitHub
parent 4910f91e8c
commit 8856ce132d
+1 -1
View File
@@ -48,7 +48,7 @@ install_packages_apt()
elif [ "$PLATFORM" = "Ubuntu" ] && [ "$(echo "$RELEASE >= $UBUNTU2004" | bc)" -eq 1 ]; then
echo "Ubuntu Release >= $UBUNTU2004"
# no need to use ppa
sudo apt-get --no-install-recommends install -y gcc-arm-none-eabi gdb-multiarch
sudo apt-get --no-install-recommends install -y gcc-arm-none-eabi gdb-multiarch libnewlib-arm-none-eabi
elif ! command -v arm-none-eabi-g++; then
# add gcc-arm-embedded ppa
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y