aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-10-28 17:39:06 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-13 14:40:36 +0100
commit1ab1a21135c685e65b2ab897ed646978f0254d82 (patch)
treec95dfdf3a7a2fb56e85283d5c31dd28bdb5e066c
parentversion: make native Go (diff)
downloadwireguard-windows-1ab1a21135c685e65b2ab897ed646978f0254d82.tar.xz
wireguard-windows-1ab1a21135c685e65b2ab897ed646978f0254d82.zip
build: enable arm building
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--build.bat3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3883ded0..089dcfaa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
# Build Output
/x86
/amd64
+/arm
# Misc
/locales/*/out.gotext.json
diff --git a/build.bat b/build.bat
index 6c7ae981..7bf73f98 100644
--- a/build.bat
+++ b/build.bat
@@ -52,6 +52,9 @@ if exist .deps\prepared goto :render
call :build_plat x86 i686 386 || goto :error
set CGO_LDFLAGS=%CGO_LDFLAGS% -Wl,--high-entropy-va
call :build_plat amd64 x86_64 amd64 || goto :error
+ set CGO_ENABLED=0
+ set GOARM=7
+ call :build_plat arm arm arm || goto :error
:sign
if exist .\sign.bat call .\sign.bat