1
0
mirror of https://github.com/golang/go synced 2024-11-26 18:06:55 -07:00

doc: recommend building Go 1.4 with CGO_ENABLED=0

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>
This commit is contained in:
Ian Lance Taylor 2017-09-08 14:38:10 -07:00
parent 926373ea79
commit 67388e9866

View 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>