Unverified Commit 9fec8fc2 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by GitHub
Browse files

Merge pull request #202129 from aaronjheng/perf-build-warnings

perf-linux: tweak make flags to supress build warnings
parents 0e3813f4 039d874f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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 = ''