pfixtools: fix build with gcc8

This commit is contained in:
Robin Gloster 2019-01-11 03:55:19 +01:00 committed by Franz Pletz
parent 88d50fa87f
commit f4bcbb1df8
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -41,7 +41,10 @@ stdenv.mkDerivation {
--replace /bin/bash ${bash}/bin/bash;
'';
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=nonnull-compare";
NIX_CFLAGS_COMPILE = [
"-Wno-error=unused-result" "-Wno-error=nonnull-compare"
"-Wno-error=format-truncation"
];
makeFlags = "DESTDIR=$(out) prefix=";