Skip to content

Commit

Permalink
Merge pull request #321116 from jmbaur/kvmtool-make-flags
Browse files Browse the repository at this point in the history
kvmtool: cleanup make flags
  • Loading branch information
superherointj authored Jun 19, 2024
2 parents 8139381 + 0b581b1 commit 98053e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/applications/virtualization/kvmtool/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ stdenv.mkDerivation {

makeFlags = [
"prefix=${placeholder "out"}"
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
"ARCH=${stdenv.hostPlatform.linuxArch}"
] ++ lib.optionals stdenv.hostPlatform.isAarch64 ([
"LIBFDT_DIR=${dtc}/lib"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"CROSS_COMPILE=aarch64-unknown-linux-gnu-"
"ARCH=arm64"
]);

meta = with lib; {
Expand Down

0 comments on commit 98053e7

Please sign in to comment.