summaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-04-13 16:10:09 +0200
committerJakob Unterwurzacher2020-04-13 18:06:50 +0200
commit73436d9419d9ef60b0104a73ffae156d9f871261 (patch)
tree631b30f0750680d562de7f88c55f589ddd4c053e /crossbuild.bash
parenta7d562d1144130f4c12e1eb821ac24210a079e79 (diff)
travis: fix Go Modules build problems
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