From 67388e9866b8e0abc6b0a1f576e97959800681c3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 8 Sep 2017 14:38:10 -0700 Subject: [PATCH] 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 Reviewed-by: Chris Broadfoot --- doc/install-source.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/install-source.html b/doc/install-source.html index 5a9c84c22b..8275bb8854 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -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, cd to -the src subdirectory and run make.bash (or, +the src subdirectory, set CGO_ENABLED=0 in +the environment, and run make.bash (or, on Windows, make.bat).

-- 2.50.0