Merge pull request #7817 from gridaphobe/cc-wrapper-isgnu-isclang

Add isGNU and isClang attributes to cc-wrapper
This commit is contained in:
Eric Seidel
2015-05-14 10:09:07 -07:00
30 changed files with 42 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper }:
assert stdenv.isLinux;
assert stdenv.cc.cc.isGNU or false;
assert stdenv.cc.isGNU;
let
version = "0.7";
debianPatch = fetchurl {