aboutsummaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-xcrossbuild.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/crossbuild.bash b/crossbuild.bash
index 12671fe..13b0bc3 100755
--- a/crossbuild.bash
+++ b/crossbuild.bash
@@ -2,13 +2,14 @@
cd "$(dirname "$0")"
+export GO111MODULE=on
B="go build -tags without_openssl"
set -x
# See https://github.com/golang/go/wiki/GoArm
GOOS=linux GOARCH=arm GOARM=7 $B
-GOOS=linux GOARCH=arm64 $B
+GOOS=linux GOARCH=arm64 $B
# MacOS
GOOS=darwin GOARCH=amd64 $B