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

See 6eb40148742de9010f2f7f6eec26df15f54e9afc and
https://github.com/golang/go/issues/16906.

cc @obadz @cstrahan @edolstra @lancelotsix @globin
This commit is contained in:
Franz Pletz 2016-08-29 02:54:33 +02:00
parent e17bc25943
commit 675848419e
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

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