Fix fallout of recent cc-wrapper changes

Fixes tarball except for 56e21d05e8
This commit is contained in:
Shea Levy 2015-03-24 22:13:43 -04:00
parent e104a7870f
commit 6e3c9d5ce4
8 changed files with 11 additions and 6 deletions

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation {
}
";
passthru = { inherit langC langCC langF77; };
passthru = { inherit langC langCC langF77; isGNU = true; };
meta = {
homepage = "http://gcc.gnu.org/";

View File

@ -171,6 +171,8 @@ stdenv.mkDerivation ({
rm -Rf ghdl-*
'';
passthru.isGNU = true;
meta = {
homepage = "http://ghdl.free.fr/";
license = stdenv.lib.licenses.gpl2Plus;

View File

@ -243,7 +243,7 @@ stdenv.mkDerivation ({
passthru = { inherit langC langCC langAda langFortran langVhdl
enableMultilib version; };
enableMultilib version; isGNU = true; };
# ghdl does not build fine with parallel building
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46173

View File

@ -358,7 +358,7 @@ stdenv.mkDerivation ({
else null;
passthru = { inherit langC langCC langAda langFortran langVhdl
enableMultilib version; };
enableMultilib version; isGNU = true; };
enableParallelBuilding = !langAda;

View File

@ -427,7 +427,7 @@ stdenv.mkDerivation ({
else null;
passthru = { inherit langC langCC langAda langFortran langVhdl
langGo version; };
langGo version; isGNU = true; };
enableParallelBuilding = false;

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation {
sha256 = "15mrvw43s4frk1j49qr4v5viq68h8qlf10qs6ghd6mrsmgj5vddi";
};
passthru = { cc = stdenv.cc.cc; };
passthru = { cc = stdenv.cc.cc; gcc = gccReal; };
meta = {
homepage = http://clang.llvm.org/;

View File

@ -35,6 +35,9 @@ stdenv.mkDerivation {
'';
passthru.cc = stdenv.cc.cc;
# GCC_INSTALL_PREFIX points here, so just use it even though it may not
# actually be a gcc
passthru.gcc = stdenv.cc.cc;
enableParallelBuilding = true;

View File

@ -41,7 +41,7 @@ let
#
# extraConfig is meant to be sh lines exporting environment
# variables like DISTCC_HOSTS, DISTCC_DIR, ...
links = extraConfig : (runCommand "distcc-links" { }
links = extraConfig: (runCommand "distcc-links" { passthru.gcc = gcc.cc; }
''
mkdir -p $out/bin
if [ -x "${gcc.cc}/bin/gcc" ]; then