mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	remove -i flag from GOFLAGS (#7778)
				
					
				
			this flag is not needed for Go versions >=1.10 and creates problems while building. see https://github.com/golang/go/issues/27285#issuecomment-424382413
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -22,7 +22,7 @@ BINDATA := modules/{options,public,templates}/bindata.go
 | 
				
			|||||||
GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
 | 
					GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
 | 
				
			||||||
GOFMT ?= gofmt -s
 | 
					GOFMT ?= gofmt -s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GOFLAGS := -i -v
 | 
					GOFLAGS := -v
 | 
				
			||||||
EXTRA_GOFLAGS ?=
 | 
					EXTRA_GOFLAGS ?=
 | 
				
			||||||
 | 
					
 | 
				
			||||||
MAKE_VERSION := $(shell make -v | head -n 1)
 | 
					MAKE_VERSION := $(shell make -v | head -n 1)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user