Skip to content

Commit 7ccaf24

Browse files
committed
Makefile: fix Makefile
1 parent 2c7003b commit 7ccaf24

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ space := $(empty) $(empty)
99
# ----------------------------------------------------------------------------
1010
# go
1111

12-
ifneq ($(shell command -v go),)
1312
GO_PATH ?= $(shell go env GOPATH)
1413
GO_OS ?= $(shell go env GOOS)
1514
GO_ARCH ?= $(shell go env GOARCH)
@@ -31,7 +30,6 @@ CGO_ENABLED ?= 0
3130
GO_BUILDTAGS=osusergo netgo static static_build
3231
GO_LDFLAGS=-s -w "-extldflags=-static"
3332
GO_FLAGS ?= -tags='$(subst $(space),$(comma),${GO_BUILDTAGS})' -ldflags='${GO_LDFLAGS}' -installsuffix=netgo
34-
endif
3533

3634
# ----------------------------------------------------------------------------
3735
# defines

0 commit comments

Comments
 (0)