From ef33dcf946cc9754b51c955975d67f871702b958 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 22 Mar 2024 00:58:14 +0100 Subject: [PATCH] remove PATH and GOPATH modification in Makefile (#29978) We don't need these modifications anymore since all tool dependencies run via `go run`. --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index 1cddad1e9..236f115a2 100644 --- a/Makefile +++ b/Makefile @@ -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