aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-22 00:58:14 +0100
committerGitHub <noreply@github.com>2024-03-21 23:58:14 +0000
commitef33dcf946cc9754b51c955975d67f871702b958 (patch)
treeef09a94477e691c3880ba4b2e9953fd36b62f75a
parentca4107dc96e5110dec6a8732e7caa3b071222dcf (diff)
downloadgitea-ef33dcf946cc9754b51c955975d67f871702b958.tar.gz
gitea-ef33dcf946cc9754b51c955975d67f871702b958.zip
remove PATH and GOPATH modification in Makefile (#29978)
We don't need these modifications anymore since all tool dependencies run via `go run`.
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1cddad1e93..236f115a2f 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