make gcc 4.1 compile

svn path=/nixpkgs/trunk/; revision=28124
This commit is contained in:
Rob Vermaas 2011-08-02 16:02:53 +00:00
parent 23e9cfac65
commit bf68854ff4
2 changed files with 4 additions and 1 deletions

View File

@ -38,6 +38,8 @@ stdenv.mkDerivation {
buildInputs = [gmp mpfr texinfo];
enableParallelBuilding = true;
configureFlags = "
--disable-multilib
--disable-libstdcxx-pch

View File

@ -1660,7 +1660,8 @@ let
});
gcc41 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.1) {
inherit fetchurl stdenv noSysDirs;
inherit fetchurl noSysDirs gmp mpfr;
stdenv = overrideGCC stdenv gcc42;
texinfo = texinfo49;
profiledCompiler = false;
});