linuxPackages*.perf: fix build with default gcc

Broken since 9842a107.
This commit is contained in:
Vladimír Čunát 2017-02-03 12:37:40 +01:00
parent adab4cd58b
commit e7c968fbf2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -32,8 +32,11 @@ stdenv.mkDerivation {
# bad `ld' and other stuff.
NIX_CFLAGS_COMPILE = [
"-Wno-error=cpp" "-Wno-error=bool-compare" "-Wno-error=deprecated-declarations"
"-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
];
]
# gcc before 6 doesn't know these options
++ stdenv.lib.optionals (hasPrefix "gcc-6" stdenv.cc.cc) [
"-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
];
installFlags = "install install-man ASCIIDOC8=1";