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:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
configureFlags = if (stdenv.cc.cc.isClang or false)
|
||||
configureFlags = if stdenv.cc.isClang
|
||||
then [ "--disable-werror" ] else null;
|
||||
|
||||
CXXFLAGS="--std=gnu++0x"; # For c++11 constants in lcms2.h
|
||||
|
||||
Reference in New Issue
Block a user