pass noSysDirs for static gcc

svn path=/nixpkgs/trunk/; revision=6246
This commit is contained in:
Armijn Hemel 2006-08-25 22:19:16 +00:00
parent 985098d4be
commit b6811b43f1
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, noSysDirs}:
stdenv.mkDerivation {
name = "gcc-static-3.4.6";
@ -9,5 +9,5 @@ stdenv.mkDerivation {
};
# !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch];
noSysDirs = 1;
inherit noSysDirs;
}

View file

@ -630,7 +630,7 @@ rec {
gcc = useFromStdenv (stdenv ? gcc) stdenv.gcc gcc41;
gcc_static = (import ../development/compilers/gcc-static-3.4) {
inherit fetchurl stdenv;
inherit fetchurl stdenv noSysDirs;
};
dietgcc = (import ../build-support/gcc-wrapper) {