summaryrefslogtreecommitdiff
path: root/src/cmd/api/goapi.go
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-06-04 15:21:58 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-06-04 15:21:58 +0800
commit5612fd770dcf0d89a43bcb01713805883493a3e4 (patch)
tree16879193857fac0ac2ed057b25fec658da961ac2 /src/cmd/api/goapi.go
parent290115fdf4609c1fb0ba87aa1940a24308213543 (diff)
downloadgo-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.go1
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},