@@ -273,8 +273,7 @@ plugin-analyze: static-analysis-cppcheck | |||||
dep-ubuntu: | dep-ubuntu: | ||||
apt-get update | |||||
apt-get install -y --no-install-recommends \ | |||||
sudo apt-get install --no-install-recommends \ | |||||
ca-certificates \ | ca-certificates \ | ||||
git \ | git \ | ||||
build-essential \ | build-essential \ | ||||
@@ -314,7 +313,7 @@ dep-ubuntu: | |||||
dep-arch-linux: | dep-arch-linux: | ||||
pacman -Suyy --noconfirm && pacman -S --noconfirm --needed \ | |||||
sudo pacman -S --needed \ | |||||
gcc \ | gcc \ | ||||
git \ | git \ | ||||
cmake \ | cmake \ | ||||
@@ -38,11 +38,13 @@ There are two ways to build the toolchains: | |||||
Install toolchain build dependencies. | Install toolchain build dependencies. | ||||
On Arch Linux, | On Arch Linux, | ||||
```bash | ```bash | ||||
sudo make dep-arch-linux | |||||
sudo pacman -Syu | |||||
make dep-arch-linux | |||||
``` | ``` | ||||
or on Ubuntu, | or on Ubuntu, | ||||
```bash | ```bash | ||||
sudo make dep-ubuntu | |||||
sudo apt-get update | |||||
make dep-ubuntu | |||||
``` | ``` | ||||
Build toolchains for all three platforms. | Build toolchains for all three platforms. | ||||