2004-03-11 18:26:14 +01:00
|
|
|
{stdenv, fetchurl, noSysDirs}:
|
2004-03-09 18:16:02 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2006-10-24 22:53:54 +02:00
|
|
|
name = "binutils-2.17";
|
2003-11-03 11:22:00 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-10-24 22:53:54 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/binutils-2.17.tar.bz2;
|
|
|
|
md5 = "e26e2e06b6e4bf3acf1dc8688a94c0d1";
|
2003-11-03 11:22:00 +01:00
|
|
|
};
|
2004-03-29 19:23:01 +02:00
|
|
|
inherit noSysDirs;
|
2006-10-24 22:53:54 +02:00
|
|
|
configureFlags = "--disable-werror"; # needed for dietlibc build
|
2007-04-28 01:30:07 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tools for manipulating binaries (linker, assembler, etc.)";
|
|
|
|
|
|
|
|
/* Give binutils a lower priority than gcc-wrapper to prevent a
|
|
|
|
collision due to the ld/as wrappers/symlinks in the latter. */
|
|
|
|
priority = "10";
|
|
|
|
};
|
2003-11-03 11:22:00 +01:00
|
|
|
}
|