1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:31:21 -06:00
Commit Graph

8 Commits

Author SHA1 Message Date
Andrew Gerrand
f75129894c build: fix darwin/386 build
R=rsc
CC=golang-dev
https://golang.org/cl/2443041
2010-10-12 11:49:05 +11:00
Andrew Gerrand
3f032d5670 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
2010-10-08 18:52:28 +11:00
Russ Cox
ffdb855be1 build: clear custom variables like GREP_OPTIONS
Fixes #946.

R=r, r2
CC=golang-dev
https://golang.org/cl/2137048
2010-09-28 23:51:55 -04:00
Russ Cox
b11740fb6d build: fixes for native arm build
R=kaib
CC=golang-dev
https://golang.org/cl/2254044
2010-09-21 22:41:32 -04:00
Alex Brainman
8a313e201a Make.inc: make GOOS detection work on windows
R=rsc, Joe Poirier, r
CC=golang-dev
https://golang.org/cl/2248041
2010-09-20 15:19:13 +10:00
Russ Cox
ca9d3f3463 build: avoid bad environment interactions
Specifically, $LIB is set on Windows.

Also diagnose attempt to build GOOS=darwin GOARCH=arm.
Otherwise the build fails mysteriously in package runtime.

Fixes #1065.

R=r
CC=golang-dev
https://golang.org/cl/2162043
2010-09-11 23:41:40 -04:00
Rob Pike
e56c0555da Make.inc: fix build for tiny.
Suggested by paulzhol@gmail.com

R=rsc
CC=golang-dev
https://golang.org/cl/2122049
2010-09-09 15:14:38 +10:00
Russ Cox
aafe474ec9 build: $GOBIN defaults to $GOROOT/bin
R=r
CC=golang-dev
https://golang.org/cl/1982049
2010-08-24 20:00:33 -04:00