]> Cypherpunks repositories - gostls13.git/commitdiff
doc: recommend building Go 1.4 with CGO_ENABLED=0
authorIan Lance Taylor <iant@golang.org>
Fri, 8 Sep 2017 21:38:10 +0000 (14:38 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 12 Oct 2017 01:03:14 +0000 (01:03 +0000)
Fixes #21054

Change-Id: I016486dc62c04a80727f8da7d1dcec52f2c7f344
Reviewed-on: https://go-review.googlesource.com/62291
Reviewed-by: Giovanni Bajo <rasky@develer.com>
Reviewed-by: Chris Broadfoot <cbro@golang.org>
doc/install-source.html

index 5a9c84c22bd8cdd2c135225e5c365465c6dd7a36..8275bb88541cac71357a249cb3beeb68d2ce3ee1 100644 (file)
@@ -148,7 +148,8 @@ which contains the Go 1.4 source code plus accumulated fixes
 to keep the tools running on newer operating systems.
 (Go 1.4 was the last distribution in which the tool chain was written in C.)
 After unpacking the Go 1.4 source, <code>cd</code> to
-the <code>src</code> subdirectory and run <code>make.bash</code> (or,
+the <code>src</code> subdirectory, set <code>CGO_ENABLED=0</code> in
+the environment, and run <code>make.bash</code> (or,
 on Windows, <code>make.bat</code>).
 </p>