Skip to content

Commit a60ab04

Browse files
soypatdeadprogram
authored andcommitted
Update build.md
1 parent 90b8576 commit a60ab04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/guides/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ echo 'deb http://apt.llvm.org/xxxxx/ llvm-toolchain-xxxxx-14 main' | sudo tee /e
5454

5555
After adding the apt repository for your distribution you may install the LLVM toolchain packages:
5656

57-
```
57+
```shell
5858
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
5959
sudo apt-get update
6060
sudo apt-get install clang-14 llvm-14-dev lld-14 libclang-14-dev
@@ -78,7 +78,7 @@ go install
7878
After LLVM has been installed, installing TinyGo should be as easy as running the following command:
7979

8080
```shell
81-
go install
81+
go install -tags=llvm14
8282
```
8383

8484
If you are getting an `gcc` or `g++ not found` error you most likely do not have a working C++ build environment. You'll need the `build-essential` package on Debian or `sudo dnf install make automake gcc gcc-c++` for Fedora based systems.

0 commit comments

Comments
 (0)