perf: apply patch to fix build of 4.9

This commit is contained in:
Ben Wolsieffer
2018-01-21 13:54:39 +02:00
committed by Tuomas Tynkkynen
parent 8c25e0dd94
commit 44dc31bad1
2 changed files with 258 additions and 0 deletions
+3
View File
@@ -50,6 +50,9 @@ stdenv.mkDerivation {
--prefix PATH : "${binutils}/bin"
'';
patches = optional (hasPrefix "4.9" kernel.version) [ ./perf-tools-fix-build-with-arch-x86_64.patch ];
meta = {
homepage = https://perf.wiki.kernel.org/;
description = "Linux tools to profile with performance counters";