diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2018-01-15 12:47:08 -0500 |
---|---|---|
committer | Ben Wolsieffer <benwolsieffer@gmail.com> | 2018-01-15 12:48:56 -0500 |
commit | 92083c3f404620b1e0260946f3330848fdbc1e6b (patch) | |
tree | 878fb895d5901dd76a8887bf358da5a5e6f4c80f /pkgs | |
parent | 285181a1db49a9b95210ac939a1b827866b0ef29 (diff) |
perf: inherit makeFlags from kernel
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/kernel/perf.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index fd21464a2198e..5f79e1b2cac68 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -11,7 +11,7 @@ assert versionAtLeast kernel.version "3.12"; stdenv.mkDerivation { name = "perf-linux-${kernel.version}"; - inherit (kernel) src; + inherit (kernel) src makeFlags; preConfigure = '' cd tools/perf @@ -40,10 +40,6 @@ stdenv.mkDerivation { "-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation" ]; - makeFlags = if stdenv.hostPlatform == stdenv.buildPlatform - then null - else "CROSS_COMPILE=${stdenv.cc.prefix}"; - installFlags = "install install-man ASCIIDOC8=1"; preFixup = '' |