If we are building, for example, linux/386 on a linux/amd64 machine we want to make sure that the whole build is done as a if this were compiled on a real linux/386 machine. In other words, we want to not do a cross compilation build. The exception to this rule is when we are doing nacl builds. These are by definition always cross compilation, and we have support built into cmd/go to be able to handle this case. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/74230043 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| doc.go | ||
| env.go | ||
| exec.go | ||
| http.go | ||
| main.go | ||
| vcs.go | ||