pfixtools: fix build with gcc8
This commit is contained in:
parent
88d50fa87f
commit
f4bcbb1df8
@ -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=";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user