Browse Source

remove PATH and GOPATH modification in Makefile (#29978)

We don't need these modifications anymore since all tool
dependencies run via `go run`.
tags/v1.22.0-rc0
silverwind 2 months ago
parent
commit
ef33dcf946
No account linked to committer's email address
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      Makefile

+ 0
- 3
Makefile View File

@@ -42,9 +42,6 @@ DOCKER_TAG ?= latest
DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)

ifeq ($(HAS_GO), yes)
GOPATH ?= $(shell $(GO) env GOPATH)
export PATH := $(GOPATH)/bin:$(PATH)

CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766
CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS)
endif

Loading…
Cancel
Save