treewide: avoid fatal warnings from gcc7

This commit is contained in:
Vladimír Čunát
2018-02-10 12:06:02 +01:00
parent 5699a12b80
commit 0a941e0b66
3 changed files with 8 additions and 2 deletions
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ boost librevenge zlib ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ]; # newly detected by gcc-7
meta = with stdenv.lib; {
homepage = http://libwps.sourceforge.net/;
description = "Microsoft Works document format import filter library";