We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c7003b commit 7ccaf24Copy full SHA for 7ccaf24
Makefile
@@ -9,7 +9,6 @@ space := $(empty) $(empty)
9
# ----------------------------------------------------------------------------
10
# go
11
12
-ifneq ($(shell command -v go),)
13
GO_PATH ?= $(shell go env GOPATH)
14
GO_OS ?= $(shell go env GOOS)
15
GO_ARCH ?= $(shell go env GOARCH)
@@ -31,7 +30,6 @@ CGO_ENABLED ?= 0
31
30
GO_BUILDTAGS=osusergo netgo static static_build
32
GO_LDFLAGS=-s -w "-extldflags=-static"
33
GO_FLAGS ?= -tags='$(subst $(space),$(comma),${GO_BUILDTAGS})' -ldflags='${GO_LDFLAGS}' -installsuffix=netgo
34
-endif
35
36
37
# defines
0 commit comments