mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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:
parent
e8cd81a055
commit
55d74fbf3b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user