Add isGNU attribute to gccs
This commit is contained in:
parent
48f63c2f2e
commit
16fe4be790
@ -487,7 +487,7 @@ stdenv.mkDerivation ({
|
|||||||
else null;
|
else null;
|
||||||
|
|
||||||
passthru =
|
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;
|
inherit enableParallelBuilding enableMultilib;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, withGd ? false, gd ? null, libpng ? null
|
, withGd ? false, gd ? null, libpng ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert stdenv.cc ? gcc;
|
assert stdenv.cc.cc.isGNU or false;
|
||||||
|
|
||||||
let
|
let
|
||||||
build = import ./common.nix;
|
build = import ./common.nix;
|
||||||
|
@ -55,6 +55,7 @@ rec {
|
|||||||
# Needed by the GCC wrapper.
|
# Needed by the GCC wrapper.
|
||||||
langC = true;
|
langC = true;
|
||||||
langCC = true;
|
langCC = true;
|
||||||
|
isGNU = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user