From: Dave Cheney
Date: Thu, 4 Apr 2013 05:13:29 +0000 (+1100)
Subject: doc/go1.1.html: mention cgo and cross compilation
X-Git-Tag: go1.1rc2~180
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=19cc9f91fa233e6846cbb582e26c31fa9748730d;p=gostls13.git
doc/go1.1.html: mention cgo and cross compilation
R=r, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/8304043
---
diff --git a/doc/go1.1.html b/doc/go1.1.html
index 6564b8f75d..fac922910a 100644
--- a/doc/go1.1.html
+++ b/doc/go1.1.html
@@ -420,6 +420,17 @@ An ARMv6 or later processor is required for freebsd/arm
or
Go 1.1 adds experimental support for cgo
on linux/arm
.
+Cross compilation
+
+
+When cross-compiling, the go
tool will disable cgo
+support by default.
+
+
+
+To explicitly enable cgo
, set CGO_ENABLED=1
.
+
+