Add isGNU attribute to gccs
This commit is contained in:
parent
48f63c2f2e
commit
16fe4be790
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -55,6 +55,7 @@ rec {
|
||||
# Needed by the GCC wrapper.
|
||||
langC = true;
|
||||
langCC = true;
|
||||
isGNU = true;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user