mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 01:34:27 +00:00 
			
		
		
		
	remove PATH and GOPATH modification in Makefile (#29978)
We don't need these modifications anymore since all tool dependencies run via `go run`.
This commit is contained in:
		
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user