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

perf-linux: tweak make flags to supress build warnings

authored by Sergei Trofimovich and committed by GitHub 9fec8fc2 0e3813f4

+5 -2
+5 -2
pkgs/os-specific/linux/kernel/perf/default.nix
··· 78 78 patchShebangs pmu-events/jevents.py 79 79 ''; 80 80 81 - makeFlags = [ "prefix=$(out)" "WERROR=0" ] ++ kernel.makeFlags; 81 + makeFlags = [ "prefix=$(out)" "WERROR=0" "ASCIIDOC8=1" ] ++ kernel.makeFlags 82 + ++ lib.optional (!withGtk) "NO_GTK2=1" 83 + ++ lib.optional (!withZstd) "NO_LIBZSTD=1" 84 + ++ lib.optional (!withLibcap) "NO_LIBCAP=1"; 82 85 83 86 hardeningDisable = [ "format" ]; 84 87 ··· 127 130 128 131 doCheck = false; # requires "sparse" 129 132 130 - installFlags = [ "install" "install-man" "ASCIIDOC8=1" "prefix=$(out)" ]; 133 + installTargets = [ "install" "install-man" ]; 131 134 132 135 # TODO: Add completions based on perf-completion.sh 133 136 postInstall = ''