mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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:
parent
57ddc155fc
commit
6eb4014874
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user