go_1_4: set CGO_ENABLED=0 to cope with binutils 2.27 version bump

See also https://github.com/golang/go/issues/16906
cc @cstrahan @edolstra @lancelotsix @globin @fpletz
This commit is contained in:
obadz 2016-08-28 13:26:19 +01:00
parent 57ddc155fc
commit 6eb4014874

View File

@ -100,7 +100,7 @@ stdenv.mkDerivation rec {
else throw "Unsupported system";
GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5";
GO386 = 387; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
CGO_ENABLED = 0;
# The go build actually checks for CC=*/clang and does something different, so we don't
# just want the generic `cc` here.