fbreader: fixup build with gcc-6
commit6895ef672b510cdf20d8eac26c35605839de710f
authorVladimír Čunát <vcunat@gmail.com>
dateSat 26 Aug 2017, 10:35 (9 years ago)
parent4596835
pkgs/applications/misc/fbreader/default.nix+3−1
@@ -16,11 +16,13 @@ stdenv.mkDerivation {
1616
1717 makeFlags = "INSTALLDIR=$(out)";
1818
19+ NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ]; # since gcc-6
20+
1921 patchPhase = ''
2022 # don't try to use ccache
2123 substituteInPlace makefiles/arch/desktop.mk \
2224 --replace "CCACHE = " "# CCACHE = "
23−
25+
2426 substituteInPlace fbreader/desktop/Makefile \
2527 --replace "/usr/share" "$out/share"
2628 '';