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:
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
# Clang generates warnings in Boost's header files
|
||||
# -Werror causes these warnings to be interpreted as errors
|
||||
# Simplest solution: disable -Werror
|
||||
configureFlags = if (stdenv.cc.cc.isClang or false)
|
||||
configureFlags = if stdenv.cc.isClang
|
||||
then [ "--disable-werror" ] else null;
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user