mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
go_1_5: set CGO_ENABLED=0 to cope with binutils 2.27 version bump
See 6eb4014874
and
https://github.com/golang/go/issues/16906.
cc @obadz @cstrahan @edolstra @lancelotsix @globin
This commit is contained in:
parent
e17bc25943
commit
675848419e
@ -107,7 +107,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;
|
||||
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
|
||||
|
||||
# The go build actually checks for CC=*/clang and does something different, so we don't
|
||||
|
Loading…
Reference in New Issue
Block a user