Changing the crosscompiler to gcc47.

gcc from 4.5 to 4.7 have important bugs for mips.

https://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20120906140843.GA17068%40linux-mips.org
This commit is contained in:
Lluís Batlle i Rossell 2012-11-08 22:33:15 +01:00
parent e8cd81a055
commit 55d74fbf3b

View File

@ -1967,7 +1967,19 @@ let
cross = assert crossSystem != null; crossSystem;
});
gcc_realCross = gcc46_realCross;
gcc47_realCross = lib.addMetaAttrs { platforms = []; }
(makeOverridable (import ../development/compilers/gcc/4.7) {
inherit fetchurl stdenv texinfo gmp mpfr mpc libelf zlib
cloog ppl gettext which noSysDirs;
binutilsCross = binutilsCross;
libcCross = libcCross;
profiledCompiler = false;
enableMultilib = false;
crossStageStatic = false;
cross = assert crossSystem != null; crossSystem;
});
gcc_realCross = gcc47_realCross;
gccCrossStageStatic = let
isMingw = (stdenv.cross.libc == "msvcrt");