build: Don't use go build -i (#5367)
This commit is contained in:
parent
a09079ed25
commit
bdcffe703b
2
build.go
2
build.go
|
@ -450,7 +450,7 @@ func build(target target, tags []string) {
|
||||||
|
|
||||||
rmr(target.BinaryName())
|
rmr(target.BinaryName())
|
||||||
|
|
||||||
args := []string{"build", "-i", "-v"}
|
args := []string{"build", "-v"}
|
||||||
args = appendParameters(args, tags, target)
|
args = appendParameters(args, tags, target)
|
||||||
|
|
||||||
os.Setenv("GOOS", goos)
|
os.Setenv("GOOS", goos)
|
||||||
|
|
Loading…
Reference in New Issue