• Russ Cox's avatar
    cmd/dist: avoid use of 'go tool pack' · b2d43caa
    Russ Cox authored
    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
    b2d43caa
build.c 40 KB