binutils: enable gold by default

This doesn't change the default but makes gold available to packages
that might want to use it.

Required switching to the gzipped tarball for bison, as xz isn't
available in the early bootstrap.

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-05-04 19:38:46 -04:00
parent fde3526e7d
commit 6b78544add
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, noSysDirs, zlib, cross ? null, gold ? false, bison ? null, flex2535 ? null, bc ? null, dejagnu ? null }:
{ stdenv, fetchurl, noSysDirs, zlib, cross ? null, gold ? true, bison ? null, flex2535 ? null, bc ? null, dejagnu ? null }:
let basename = "binutils-2.23.1"; in
stdenv.mkDerivation rec {

View File

@ -4,8 +4,8 @@ stdenv.mkDerivation rec {
name = "bison-2.7";
src = fetchurl {
url = "mirror://gnu/bison/${name}.tar.xz";
sha256 = "1zd77ilmpv5mi3kr55jrj6ncqlcnyhpianhrwzak2q28cv2cbn23";
url = "mirror://gnu/bison/${name}.tar.gz";
sha256 = "0cd8s2g7zjshya7kwjc9rh3drsssl4hiq4sccnkgf0nn9wvygfqr";
};
nativeBuildInputs = [ m4 ] ++ stdenv.lib.optional doCheck perl;

View File

@ -3093,9 +3093,9 @@ let
inherit noSysDirs;
};
binutils_gold = lowPrio (callPackage ../development/tools/misc/binutils {
binutils_nogold = lowPrio (callPackage ../development/tools/misc/binutils {
inherit noSysDirs;
gold = true;
gold = false;
});
binutilsCross = lowPrio (forceNativeDrv (import ../development/tools/misc/binutils {