perf: fix build on 5.5
This commit is contained in:
parent
23593e42c8
commit
0fc20ed4fb
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||||
# perf refers both to newt and slang
|
# perf refers both to newt and slang
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt
|
asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt
|
||||||
flex bison libiberty audit makeWrapper pkgconfig
|
flex bison libiberty audit makeWrapper pkgconfig python3
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl
|
elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl
|
||||||
|
@ -54,6 +54,10 @@ stdenv.mkDerivation {
|
||||||
"-Wno-error=stringop-truncation"
|
"-Wno-error=stringop-truncation"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs scripts/bpf_helpers_doc.py
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false; # requires "sparse"
|
doCheck = false; # requires "sparse"
|
||||||
doInstallCheck = false; # same
|
doInstallCheck = false; # same
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue