]> Cypherpunks repositories - gostls13.git/commit
cmd/go: avoid use of 'go tool pack'
authorRuss Cox <rsc@golang.org>
Wed, 18 Dec 2013 02:44:36 +0000 (21:44 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 18 Dec 2013 02:44:36 +0000 (21:44 -0500)
commitc86fc68ac6f95b2a50abe419dce6d1649adf4cd9
treeb10d2668512b6130568cbccd02eaffd07cb58aba
parentb2d43caa7a1a2697f09187a133ef724d9f822634
cmd/go: avoid use of 'go tool pack'

All packages now use the -pack option to the compiler.
For a pure Go package, that's enough.
For a package with additional C and assembly files, the extra
archive entries can be added directly (by concatenation)
instead of by invoking go tool pack.

These changes make it possible to rewrite cmd/pack in Go.

R=iant, r
CC=golang-dev
https://golang.org/cl/42910043
src/cmd/go/build.go