Browse Source

Don't recommend running `sudo make`. Don't install packages without permission. Don't automatically update packages.

v2
Andrew Belt 4 months ago
parent
commit
1c4a9e2e17
2 changed files with 6 additions and 5 deletions
  1. +2
    -3
      Makefile
  2. +4
    -2
      README.md

+ 2
- 3
Makefile View File

@@ -273,8 +273,7 @@ plugin-analyze: static-analysis-cppcheck


dep-ubuntu:
apt-get update
apt-get install -y --no-install-recommends \
sudo apt-get install --no-install-recommends \
ca-certificates \
git \
build-essential \
@@ -314,7 +313,7 @@ dep-ubuntu:


dep-arch-linux:
pacman -Suyy --noconfirm && pacman -S --noconfirm --needed \
sudo pacman -S --needed \
gcc \
git \
cmake \


+ 4
- 2
README.md View File

@@ -38,11 +38,13 @@ There are two ways to build the toolchains:
Install toolchain build dependencies.
On Arch Linux,
```bash
sudo make dep-arch-linux
sudo pacman -Syu
make dep-arch-linux
```
or on Ubuntu,
```bash
sudo make dep-ubuntu
sudo apt-get update
make dep-ubuntu
```

Build toolchains for all three platforms.


Loading…
Cancel
Save