From 2f4f77c682d9c2874d8a8787109069fac4c710b4 Mon Sep 17 00:00:00 2001 From: Spencer Whitt Date: Wed, 8 Apr 2015 00:05:06 -0400 Subject: [PATCH] libcdr: disable -Werror for clang --- pkgs/development/libraries/libcdr/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libcdr/default.nix b/pkgs/development/libraries/libcdr/default.nix index 23fafb44c81..21666ed3034 100644 --- a/pkgs/development/libraries/libcdr/default.nix +++ b/pkgs/development/libraries/libcdr/default.nix @@ -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 = {