treewide: Make all the rest of configureFlags
This commit is contained in:
@@ -18,8 +18,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's,^CPPFLAGS.*,\0 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED,' src/lib/Makefile.in
|
||||
'';
|
||||
|
||||
configureFlags = if stdenv.cc.isClang
|
||||
then [ "--disable-werror" ] else null;
|
||||
configureFlags = stdenv.lib.optional stdenv.cc.isClang "--disable-werror";
|
||||
|
||||
CXXFLAGS="--std=gnu++0x"; # For c++11 constants in lcms2.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user