perf-linux: tweak make flags to supress build warnings
This commit is contained in:
parent
8b5dd47fe0
commit
039d874f0b
|
@ -78,7 +78,10 @@ stdenv.mkDerivation {
|
|||
patchShebangs pmu-events/jevents.py
|
||||
'';
|
||||
|
||||
makeFlags = [ "prefix=$(out)" "WERROR=0" ] ++ kernel.makeFlags;
|
||||
makeFlags = [ "prefix=$(out)" "WERROR=0" "ASCIIDOC8=1" ] ++ kernel.makeFlags
|
||||
++ lib.optional (!withGtk) "NO_GTK2=1"
|
||||
++ lib.optional (!withZstd) "NO_LIBZSTD=1"
|
||||
++ lib.optional (!withLibcap) "NO_LIBCAP=1";
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
@ -127,7 +130,7 @@ stdenv.mkDerivation {
|
|||
|
||||
doCheck = false; # requires "sparse"
|
||||
|
||||
installFlags = [ "install" "install-man" "ASCIIDOC8=1" "prefix=$(out)" ];
|
||||
installTargets = [ "install" "install-man" ];
|
||||
|
||||
# TODO: Add completions based on perf-completion.sh
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue