Skip to content

Commit 0e50c0c

Browse files
committed
hack/make/go: update go.mk to latest
1 parent 4c7ce79 commit 0e50c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/make/go.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GO_TEST_FLAGS ?=
2323
GO_BENCH_FUNC ?= .
2424
GO_BENCH_FLAGS ?= -benchmem
2525

26-
CGO_ENABLED ?= 0
26+
CGO_ENABLED ?= 1
2727
GO_LDFLAGS=-s -w
2828
GO_LDFLAGS_STATIC=-s -w '-extldflags=-static'
2929

@@ -33,7 +33,7 @@ ifeq ($(GO111MODULE),off)
3333
endif
3434
endif
3535

36-
GO_BUILDTAGS=osusergo netgo
36+
GO_BUILDTAGS=osusergo
3737
GO_BUILDTAGS_STATIC=static static_build
3838
GO_FLAGS ?= -tags='$(GO_BUILDTAGS)' -ldflags="${GO_LDFLAGS}"
3939
GO_INSTALLSUFFIX_STATIC=netgo

0 commit comments

Comments
 (0)