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
+1 -1
View File
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
# gcc 4.8 optimisations break judy.
# http://sourceforge.net/p/judy/mailman/message/31995144/
preConfigure = stdenv.lib.optionalString (stdenv.cc.cc.isGNU or false) ''
preConfigure = stdenv.lib.optionalString stdenv.cc.isGNU ''
configureFlagsArray+=("CFLAGS=-fno-strict-aliasing -fno-aggressive-loop-optimizations")
'';