aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2022-04-08 16:23:54 -0700
committerGitHub <noreply@github.com>2022-04-08 16:23:54 -0700
commit896549fa52002a65436625ad4fd7743b444f1135 (patch)
treebdc0134d83ac36aa3c2ff99a6a7e23a27a049ee7 /Makefile
parentf28f2be05de938b1c2da7a88569bf6611250a9e2 (diff)
parent657a1f0f44b61725f1b8041bceef6f262ffcb770 (diff)
Merge pull request #353 from google/go-version
Bump up required Go version to 1.16
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 139f259..b265b02 100644
--- a/Makefile
+++ b/Makefile
@@ -72,8 +72,6 @@ VERSION_FLAG := -X "main.version=$(if $(TAG_VERSION),$(TAG_VERSION),$(VERSION))"
override GO_LINK_FLAGS += $(VERSION_FLAG) -extldflags "$(LDFLAGS)"
override GO_FLAGS += --ldflags '$(GO_LINK_FLAGS)'
-# Always use Go modules
-export GO111MODULE = on
# Use -trimpath if available
ifneq "" "$(shell go help build | grep trimpath)"
override GO_FLAGS += -trimpath