linuxPackages*.perf: fix build with default gcc
Broken since 9842a107.
This commit is contained in:
parent
adab4cd58b
commit
e7c968fbf2
@ -32,8 +32,11 @@ stdenv.mkDerivation {
|
|||||||
# bad `ld' and other stuff.
|
# bad `ld' and other stuff.
|
||||||
NIX_CFLAGS_COMPILE = [
|
NIX_CFLAGS_COMPILE = [
|
||||||
"-Wno-error=cpp" "-Wno-error=bool-compare" "-Wno-error=deprecated-declarations"
|
"-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";
|
installFlags = "install install-man ASCIIDOC8=1";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user