diff options
| author | Shenghou Ma <minux.ma@gmail.com> | 2012-06-04 15:21:58 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-06-04 15:21:58 +0800 |
| commit | 5612fd770dcf0d89a43bcb01713805883493a3e4 (patch) | |
| tree | 16879193857fac0ac2ed057b25fec658da961ac2 /src/cmd/api/goapi.go | |
| parent | 290115fdf4609c1fb0ba87aa1940a24308213543 (diff) | |
| download | go-git-5612fd770dcf0d89a43bcb01713805883493a3e4.tar.gz | |
api: add Linux/ARM to go1 API
It's very unfortunate that the type of Data field of struct
RawSockaddr is [14]uint8 on Linux/ARM instead of [14]int8
on all the others.
btw, it should be [14]int8 according to my header files.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6275050
Diffstat (limited to 'src/cmd/api/goapi.go')
| -rw-r--r-- | src/cmd/api/goapi.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index a84102fdd1..3beb7d4b71 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -51,6 +51,7 @@ var contexts = []*build.Context{ {GOOS: "linux", GOARCH: "386"}, {GOOS: "linux", GOARCH: "amd64", CgoEnabled: true}, {GOOS: "linux", GOARCH: "amd64"}, + {GOOS: "linux", GOARCH: "arm"}, {GOOS: "darwin", GOARCH: "386", CgoEnabled: true}, {GOOS: "darwin", GOARCH: "386"}, {GOOS: "darwin", GOARCH: "amd64", CgoEnabled: true}, |
