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:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user