Drop pointless gcc_real variables
This commit is contained in:
parent
c3d31749fb
commit
035fb0d9c9
@ -2371,8 +2371,6 @@ let
|
|||||||
cross = assert crossSystem != null; crossSystem;
|
cross = assert crossSystem != null; crossSystem;
|
||||||
});
|
});
|
||||||
|
|
||||||
gcc45 = gcc45_real;
|
|
||||||
|
|
||||||
wrapDeterministicGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
wrapDeterministicGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
||||||
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
||||||
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
||||||
@ -2404,10 +2402,6 @@ let
|
|||||||
else null;
|
else null;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
gcc46 = gcc46_real;
|
|
||||||
|
|
||||||
gcc48 = gcc48_real;
|
|
||||||
|
|
||||||
gcc45_realCross = lib.addMetaAttrs { hydraPlatforms = []; }
|
gcc45_realCross = lib.addMetaAttrs { hydraPlatforms = []; }
|
||||||
(makeOverridable (import ../development/compilers/gcc/4.5) {
|
(makeOverridable (import ../development/compilers/gcc/4.5) {
|
||||||
inherit fetchurl stdenv gmp mpfr mpc libelf zlib
|
inherit fetchurl stdenv gmp mpfr mpc libelf zlib
|
||||||
@ -2498,7 +2492,7 @@ let
|
|||||||
profiledCompiler = true;
|
profiledCompiler = true;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
gcc45_real = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc/4.5) {
|
gcc45 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc/4.5) {
|
||||||
inherit fetchurl stdenv gmp mpfr mpc libelf zlib perl
|
inherit fetchurl stdenv gmp mpfr mpc libelf zlib perl
|
||||||
ppl cloogppl
|
ppl cloogppl
|
||||||
gettext which noSysDirs;
|
gettext which noSysDirs;
|
||||||
@ -2518,7 +2512,7 @@ let
|
|||||||
else null;
|
else null;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
gcc46_real = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.6 {
|
gcc46 = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.6 {
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
|
|
||||||
# bootstrapping a profiled compiler does not work in the sheevaplug:
|
# bootstrapping a profiled compiler does not work in the sheevaplug:
|
||||||
@ -2556,7 +2550,7 @@ let
|
|||||||
}))
|
}))
|
||||||
else throw "Multilib gcc not supported on ‘${system}’";
|
else throw "Multilib gcc not supported on ‘${system}’";
|
||||||
|
|
||||||
gcc48_real = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.8 {
|
gcc48 = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.8 {
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
|
|
||||||
# PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
|
# PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
|
||||||
@ -2633,7 +2627,7 @@ let
|
|||||||
ppl = null;
|
ppl = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
gnat45 = wrapGCC (gcc45_real.gcc.override {
|
gnat45 = wrapGCC (gcc45.gcc.override {
|
||||||
name = "gnat";
|
name = "gnat";
|
||||||
langCC = false;
|
langCC = false;
|
||||||
langC = true;
|
langC = true;
|
||||||
@ -2646,7 +2640,7 @@ let
|
|||||||
ppl = null;
|
ppl = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
gnat46 = wrapGCC (gcc46_real.gcc.override {
|
gnat46 = wrapGCC (gcc46.gcc.override {
|
||||||
name = "gnat";
|
name = "gnat";
|
||||||
langCC = false;
|
langCC = false;
|
||||||
langC = true;
|
langC = true;
|
||||||
@ -2665,7 +2659,7 @@ let
|
|||||||
|
|
||||||
gccgo = gccgo48;
|
gccgo = gccgo48;
|
||||||
|
|
||||||
gccgo48 = wrapGCC (gcc48_real.gcc.override {
|
gccgo48 = wrapGCC (gcc48.gcc.override {
|
||||||
name = "gccgo";
|
name = "gccgo";
|
||||||
langCC = true; #required for go.
|
langCC = true; #required for go.
|
||||||
langC = true;
|
langC = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user