Commit 22aa5496 authored by Jan Ziak's avatar Jan Ziak

cmd/go: fix invalid go pack command line in the output of go build -x

Fixes #7262

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/76110043
parent 1483747f
......@@ -1625,10 +1625,10 @@ func (gcToolchain) pack(b *builder, p *Package, objDir, afile string, ofiles []s
appending := false
if _, err := os.Stat(absAfile); err == nil {
appending = true
cmd = "rqP"
cmd = "r"
}
cmdline := stringList("pack", cmd, b.work, absAfile, absOfiles)
cmdline := stringList("pack", cmd, absAfile, absOfiles)
if appending {
if buildN || buildX {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment