Skip to content

Commit

Permalink
remove PATH and GOPATH modification in Makefile (go-gitea#29978)
Browse files Browse the repository at this point in the history
We don't need these modifications anymore since all tool
dependencies run via `go run`.
  • Loading branch information
silverwind committed Mar 21, 2024
1 parent ca4107d commit ef33dcf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef33dcf

Please sign in to comment.