]> Cypherpunks repositories - gostls13.git/commit
cmd/dist, build: support building statically linked toolchain
authorShenghou Ma <minux.ma@gmail.com>
Wed, 2 Oct 2013 03:44:20 +0000 (23:44 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 2 Oct 2013 03:44:20 +0000 (23:44 -0400)
commit6b188ef57a644838bd4c673d6d14b49879db6297
treef440c5aff4e1aa402c495f1e028a06339e28ce08
parent57d37b55b8646b16ccdee6662933964f26176add
cmd/dist, build: support building statically linked toolchain

Added a new $GO_DISTFLAGS to make.bash, and while we're here,
added mention $CXX in make.bash (CL 13704044).

Fixes #6448.
Update #3564
We can pass GO_DISTFLAGS=-s from misc/dist to make.bash so that
it will build a statically linked toolchain.
(Note: OS X doesn't have the concept of static linking, so don't
pass GO_DISTFLAGS=-s for OS X builds)

R=adg, rsc, iant
CC=golang-dev
https://golang.org/cl/13887043
src/cmd/dist/a.h
src/cmd/dist/build.c
src/cmd/dist/main.c
src/make.bash