3
0
Fork 0
forked from mirrors/nixpkgs

Add isGNU attribute to gccs

This commit is contained in:
Shea Levy 2015-01-13 10:00:42 -05:00 committed by Eric Seidel
parent 48f63c2f2e
commit 16fe4be790
3 changed files with 3 additions and 2 deletions

View file

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

View file

@ -8,7 +8,7 @@
, withGd ? false, gd ? null, libpng ? null
}:
assert stdenv.cc ? gcc;
assert stdenv.cc.cc.isGNU or false;
let
build = import ./common.nix;

View file

@ -55,6 +55,7 @@ rec {
# Needed by the GCC wrapper.
langC = true;
langCC = true;
isGNU = true;
};