@@ -15,16 +15,12 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ autoconf automake libtool ];
1616 buildInputs = [ openssl zlib ];
1717
18− NIX_CFLAGS_COMPILE = [
19− "-Wno-error=format-truncation"
20− "-Wno-error=address-of-packed-member"
21− "-Wno-error=format-overflow"
22− "-Wno-error=stringop-truncation"
23− ];
24−
2518 preBuild = ''
2619 patchShebangs build/gen_version
2720 substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
21+
22+ # drop blanket -Werror
23+ substituteInPlace make_in/Makefile.in --replace '-Werror' ""
2824 '';
2925
3026 installPhase = ''