]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix build -n when adding to archive with gc toolchain
authorIan Lance Taylor <iant@golang.org>
Mon, 9 Nov 2015 21:31:03 +0000 (13:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 13 Nov 2015 14:23:27 +0000 (14:23 +0000)
commitb5c1b5d7a035d589c5a970f17b7e0c52441d5d34
tree46abdeed86a36e0a8f9252b12c0a38393a12a1ba
parent51fed7165b99413b457f41217d968540cd4eeef1
cmd/go: fix build -n when adding to archive with gc toolchain

Fix the output of build -n when adding to an existing archive with the
gc toolchain by observing that we are, now, always doing that.  When
using the gc toolchain the archive is now always created by the Go
compiler, and never by the pack command.

No test because we have not historically tested build -n output.

Fixes #13118.

Change-Id: I3a5c43cf45169fa6c9581e4741309c77d2b6e58b
Reviewed-on: https://go-review.googlesource.com/16761
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/build.go