3
0
Fork 0
forked from mirrors/nixpkgs

libcdr: disable -Werror for clang

This commit is contained in:
Spencer Whitt 2015-04-08 00:05:06 -04:00
parent 5920d68f2e
commit 2f4f77c682

View file

@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
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
meta = {