Instead of using binutils snapshot for the loongson2f, let's use the released version + patches.

svn path=/nixpkgs/branches/stdenv-updates/; revision=24164
This commit is contained in:
Lluís Batlle i Rossell
2010-10-07 22:44:18 +00:00
parent 481ec66882
commit bdb096bb92
5 changed files with 586 additions and 68 deletions
@@ -2,6 +2,8 @@
let
basename = "binutils-2.20.1";
targetIsMips = stdenv.system == "mips64-linux" || (cross != null && cross.arch == "mips");
in
stdenv.mkDerivation rec {
name = basename + stdenv.lib.optionalString (cross != null) "-${cross.config}";
@@ -16,7 +18,7 @@ stdenv.mkDerivation rec {
# RUNPATH instead of RPATH on binaries. This is important because
# RUNPATH can be overriden using LD_LIBRARY_PATH at runtime.
./new-dtags.patch
];
] ++ stdenv.lib.optionals targetIsMips [ ./loongson2f.patch ./version-bump.patch ];
inherit noSysDirs;