aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-12 01:45:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-12 01:45:33 +0200
commit85b2378a07126fb64460f0a23e7a150d0e63d909 (patch)
tree95ba19e0010413a859d0ef690283d93520e93f91 /Makefile
parentDo not build if nothing to do (diff)
downloadwireguard-go-85b2378a07126fb64460f0a23e7a150d0e63d909.tar.xz
wireguard-go-85b2378a07126fb64460f0a23e7a150d0e63d909.zip
Use go modules always
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 46d35cb..8c67d19 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ PREFIX ?= /usr
DESTDIR ?=
BINDIR ?= $(PREFIX)/bin
export GOPATH ?= $(CURDIR)/.gopath
+export GO111MODULE := on
default: generate-version-and-build