added instruction on how to build for a different platform

This commit is contained in:
Andrey Meshkov 2020-07-16 11:12:12 +03:00
parent b9fca8d0a9
commit 1bce871fcb
1 changed files with 8 additions and 0 deletions

View File

@ -167,6 +167,14 @@ make
Check the [`Makefile`](https://github.com/AdguardTeam/AdGuardHome/blob/master/Makefile) to learn about other commands.
**Building for a different platform.** You can build AdGuard for any OS/ARCH just like any other Golang project.
In order to do this, specify `GOOS` and `GOARCH` env variables before running make.
For example:
```
GOOS=linux GOARCH=arm64 make
```
#### Preparing release
You'll need this to prepare a release build: