gcc: Fix building 4.5 and 4.6

This commit is contained in:
Eelco Dolstra 2014-01-13 19:11:46 +01:00
parent bccc76f290
commit 033374d601
3 changed files with 10 additions and 4 deletions

View File

@ -212,7 +212,7 @@ stdenv.mkDerivation ({
++ (optional (ppl != null) ppl)
++ (optional (cloogppl != null) cloogppl)
++ (optional (zlib != null) zlib)
++ (optional (boehmgc != null) boehmgc)
++ (optional langJava boehmgc)
++ (optionals langJava [zip unzip])
++ (optionals javaAwtGtk ([gtk pkgconfig libart_lgpl] ++ xlibs))
++ (optionals (cross != null) [binutilsCross])

View File

@ -434,7 +434,7 @@ stdenv.mkDerivation ({
passthru = { inherit langC langCC langAda langFortran langVhdl
langGo version; };
enableParallelBuilding = !langAda;
enableParallelBuilding = false;
inherit (stdenv) is64bit;

View File

@ -2437,11 +2437,14 @@ let
profiledCompiler = true;
}));
gcc45 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc/4.5) {
gcc45 = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.5 {
inherit fetchurl stdenv gmp mpfr mpc libelf zlib perl
ppl cloogppl
gettext which noSysDirs;
texinfo = texinfo4;
ppl = null;
cloogppl = null;
# bootstrapping a profiled compiler does not work in the sheevaplug:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43944
profiledCompiler = !stdenv.isArm;
@ -2460,6 +2463,9 @@ let
gcc46 = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.6 {
inherit noSysDirs;
ppl = null;
cloog = null;
# bootstrapping a profiled compiler does not work in the sheevaplug:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43944
profiledCompiler = false;