pass noSysDirs for static gcc
svn path=/nixpkgs/trunk/; revision=6246
This commit is contained in:
parent
985098d4be
commit
b6811b43f1
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, noSysDirs}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gcc-static-3.4.6";
|
name = "gcc-static-3.4.6";
|
||||||
@ -9,5 +9,5 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
# !!! apply only if noSysDirs is set
|
# !!! apply only if noSysDirs is set
|
||||||
patches = [./no-sys-dirs.patch];
|
patches = [./no-sys-dirs.patch];
|
||||||
noSysDirs = 1;
|
inherit noSysDirs;
|
||||||
}
|
}
|
||||||
|
@ -630,7 +630,7 @@ rec {
|
|||||||
gcc = useFromStdenv (stdenv ? gcc) stdenv.gcc gcc41;
|
gcc = useFromStdenv (stdenv ? gcc) stdenv.gcc gcc41;
|
||||||
|
|
||||||
gcc_static = (import ../development/compilers/gcc-static-3.4) {
|
gcc_static = (import ../development/compilers/gcc-static-3.4) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv noSysDirs;
|
||||||
};
|
};
|
||||||
|
|
||||||
dietgcc = (import ../build-support/gcc-wrapper) {
|
dietgcc = (import ../build-support/gcc-wrapper) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user