libcdr: disable -Werror for clang
This commit is contained in:
parent
5920d68f2e
commit
2f4f77c682
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
configureFlags = if (stdenv.cc.cc.isClang or false)
|
||||||
|
then [ "--disable-werror" ] else null;
|
||||||
|
|
||||||
CXXFLAGS="--std=gnu++0x"; # For c++11 constants in lcms2.h
|
CXXFLAGS="--std=gnu++0x"; # For c++11 constants in lcms2.h
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user