diff options
author | obadz <obadz-git@obadz.com> | 2016-08-28 13:26:19 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-08-28 13:29:44 +0100 |
commit | 6eb40148742de9010f2f7f6eec26df15f54e9afc (patch) | |
tree | ad9c9246c7a76827d5e5c2cc5f356bee93defe1e | |
parent | 57ddc155fcdb5a419860dd4a6ed03deabcc162f2 (diff) | |
download | nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.tar nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.tar.gz nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.tar.bz2 nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.tar.lz nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.tar.xz nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.tar.zst nixlib-6eb40148742de9010f2f7f6eec26df15f54e9afc.zip |
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
-rw-r--r-- | pkgs/development/compilers/go/1.4.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix index 5b6af31d684f..273d768ce21f 100644 --- a/pkgs/development/compilers/go/1.4.nix +++ b/pkgs/development/compilers/go/1.4.nix @@ -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. |