From 077e24c10d4d5578aedc849f968562e178715743 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 10 Feb 2016 17:14:12 +0000 Subject: [PATCH] Revert "linuxPackages.perf: set -Wno-error=bool-compare" This reverts commit 332c84196c3d8814fbd244b42d8dabc68917f1e4. only works on gcc5 --- pkgs/os-specific/linux/kernel/perf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index ad80d2ed93c..1e5c64ccb8a 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation { # Note: we don't add elfutils to buildInputs, since it provides a # bad `ld' and other stuff. - NIX_CFLAGS_COMPILE = "-I${elfutils}/include -Wno-error=cpp -Wno-error=bool-compare"; + NIX_CFLAGS_COMPILE = "-I${elfutils}/include -Wno-error=cpp"; NIX_CFLAGS_LINK = "-L${elfutils}/lib"; installFlags = "install install-man ASCIIDOC8=1";