mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 20:11:43 +03:00
linuxPackages.perf: fix build with gcc9
This commit is contained in:
parent
a2ab758457
commit
d98aee819f
@ -50,10 +50,7 @@ stdenv.mkDerivation {
|
||||
"-Wno-error=bool-compare"
|
||||
"-Wno-error=deprecated-declarations"
|
||||
"-DOBJDUMP_PATH=\"${binutils}/bin/objdump\""
|
||||
]
|
||||
# gcc before 6 doesn't know these options
|
||||
++ stdenv.lib.optionals (hasPrefix "gcc-6" stdenv.cc.cc.name) [
|
||||
"-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
|
||||
"-Wno-error=stringop-truncation"
|
||||
];
|
||||
|
||||
doCheck = false; # requires "sparse"
|
||||
|
Loading…
Reference in New Issue
Block a user