Fix fallout of recent cc-wrapper changes
Fixes tarball except for 56e21d05e8
This commit is contained in:
parent
e104a7870f
commit
6e3c9d5ce4
@ -37,7 +37,7 @@ stdenv.mkDerivation {
|
||||
}
|
||||
";
|
||||
|
||||
passthru = { inherit langC langCC langF77; };
|
||||
passthru = { inherit langC langCC langF77; isGNU = true; };
|
||||
|
||||
meta = {
|
||||
homepage = "http://gcc.gnu.org/";
|
||||
|
@ -171,6 +171,8 @@ stdenv.mkDerivation ({
|
||||
rm -Rf ghdl-*
|
||||
'';
|
||||
|
||||
passthru.isGNU = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://ghdl.free.fr/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
@ -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
|
||||
|
@ -358,7 +358,7 @@ stdenv.mkDerivation ({
|
||||
else null;
|
||||
|
||||
passthru = { inherit langC langCC langAda langFortran langVhdl
|
||||
enableMultilib version; };
|
||||
enableMultilib version; isGNU = true; };
|
||||
|
||||
enableParallelBuilding = !langAda;
|
||||
|
||||
|
@ -427,7 +427,7 @@ stdenv.mkDerivation ({
|
||||
else null;
|
||||
|
||||
passthru = { inherit langC langCC langAda langFortran langVhdl
|
||||
langGo version; };
|
||||
langGo version; isGNU = true; };
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
|
@ -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/;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user