libcdr: disable werror is default
So this optional configure flag is uneeded.
See: https://github.com/LibreOffice/libcdr/blob/10211e95bb95d05c2261819c88b7f48d9db20b32/NEWS#L5
commit2764297cc5a3a8023bce499d7c37a9dcaffa9d6b
authorworldofpeace <worldofpeace@users.noreply.github.com>
dateThu 3 Jan 2019, 17:29 (8 years ago)
parentd211457
pkgs/development/libraries/libcdr/default.nix−2
@@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
1818 sed -i 's,^CPPFLAGS.*,\0 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED,' src/lib/Makefile.in
1919 '';
2020
21− configureFlags = stdenv.lib.optional stdenv.cc.isClang "--disable-werror";
22−
2321 CXXFLAGS="--std=gnu++0x"; # For c++11 constants in lcms2.h
2422
2523 meta = {