]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: avoid use of 'go tool pack'
authorRuss Cox <rsc@golang.org>
Wed, 18 Dec 2013 02:44:18 +0000 (21:44 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 18 Dec 2013 02:44:18 +0000 (21:44 -0500)
commitb2d43caa7a1a2697f09187a133ef724d9f822634
treef14955a4793575cee2903e4b71ef2874b23cedea
parentb02233402961621e1cd705d79dcf63387daadea2
cmd/dist: 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/42890043
src/cmd/dist/build.c