1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:18:32 -06:00

go/build: enable cgo by default on iOS

Otherwise misc/cgo/test won't be tested on iOS.

Change-Id: I7ee78c825b0bb092c7a8b2c2ece5a6eda2f6cf95
Reviewed-on: https://go-review.googlesource.com/9643
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Shenghou Ma 2015-05-01 22:05:50 -04:00 committed by Minux Ma
parent 2f9acc13c1
commit 4a8dbaa4b1

View File

@ -259,6 +259,8 @@ var Default Context = defaultContext()
var cgoEnabled = map[string]bool{
"darwin/386": true,
"darwin/amd64": true,
"darwin/arm": true,
"darwin/arm64": true,
"dragonfly/amd64": true,
"freebsd/386": true,
"freebsd/amd64": true,