1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00

linuxPackages.perf: fix build with gcc6

This commit is contained in:
Robin Gloster 2017-01-19 02:24:04 +01:00
parent 4e5f484016
commit 9842a107da
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -30,7 +30,10 @@ stdenv.mkDerivation {
# Note: we don't add elfutils to buildInputs, since it provides a
# bad `ld' and other stuff.
NIX_CFLAGS_COMPILE = "-Wno-error=cpp -Wno-error=bool-compare -Wno-error=deprecated-declarations";
NIX_CFLAGS_COMPILE = [
"-Wno-error=cpp" "-Wno-error=bool-compare" "-Wno-error=deprecated-declarations"
"-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
];
installFlags = "install install-man ASCIIDOC8=1";