remove all references to stdenv.cc.cc.is{GNU,Clang}

use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be
defined.
This commit is contained in:
Eric Seidel
2015-05-11 14:44:50 -07:00
parent 395829686d
commit 662a6b1ca6
25 changed files with 25 additions and 25 deletions
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
# optimize.diff is taken from https://projects.archlinux.org/svntogit/packages.git/tree/trunk/optimize.diff?h=packages/libmad
# It is included here in order to fix a build failure in Clang
# But it may be useful to fix other, currently unknown problems as well
++ stdenv.lib.optional (stdenv.cc.cc.isClang or false) [ ./optimize.diff ];
++ stdenv.lib.optional stdenv.cc.isClang [ ./optimize.diff ];
nativeBuildInputs = [ autoconf ];