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:37:53 -07:00
parent 395829686d
commit 662a6b1ca6
25 changed files with 25 additions and 25 deletions

View File

@@ -129,7 +129,7 @@ stdenv.mkDerivation rec {
"--disable-stripping"
# Disable mmx support for 0.6.90
(verFix null "0.6.90" "--disable-mmx")
] ++ optional (stdenv.cc.cc.isClang or false) "--cc=clang";
] ++ optional stdenv.cc.isClang "--cc=clang";
nativeBuildInputs = [ perl pkgconfig texinfo yasm ];