]> Cypherpunks repositories - gostls13.git/commit
build: add GOHOSTOS and GOHOSTARCH environment variables.
authorAndrew Gerrand <adg@golang.org>
Fri, 8 Oct 2010 07:52:28 +0000 (18:52 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 8 Oct 2010 07:52:28 +0000 (18:52 +1100)
commit3f032d5670c6a1d9b98914336c77940ab05dd850
tree2ebf85cd3b4ec0ac2fc825b720f7f7f545e31f15
parent5781a00e007fb10815e298095fc65b7798278607
build: add GOHOSTOS and GOHOSTARCH environment variables.

Auto-detect both if not set, and if GOARCH is not set use GOHOSTARCH.

GOHOSTARCH is used to set the -m32 or -m64 flags for gcc.

This is so that 64-bit can build binaries that run on 32-bit systems.

R=rsc, iant, brainman
CC=golang-dev
https://golang.org/cl/2342045
src/Make.inc
src/quietgcc.bash