Skip to content

Commit

Permalink
linuxPackages.perf: fix build with gcc6
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Jan 25, 2017
1 parent 4e5f484 commit 9842a10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/os-specific/linux/kernel/perf.nix
Expand Up @@ -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";

Expand Down

0 comments on commit 9842a10

Please sign in to comment.