mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
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 {
|
||||
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;
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user