From 1bce871fcbbc61effa519714f2892c9b7a847851 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Thu, 16 Jul 2020 11:12:12 +0300 Subject: [PATCH] added instruction on how to build for a different platform --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 17421a5d..01e833e0 100644 --- a/README.md +++ b/README.md @@ -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: