Skip to content

Commit ef33dcf

Browse files
authored
remove PATH and GOPATH modification in Makefile (#29978)
We don't need these modifications anymore since all tool dependencies run via `go run`.
1 parent ca4107d commit ef33dcf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ DOCKER_TAG ?= latest
4242
DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
4343

4444
ifeq ($(HAS_GO), yes)
45-
GOPATH ?= $(shell $(GO) env GOPATH)
46-
export PATH := $(GOPATH)/bin:$(PATH)
47-
4845
CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766
4946
CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS)
5047
endif

0 commit comments

Comments
 (0)