3
0
Fork 0
forked from mirrors/nixpkgs

exfat: fix cross compilation

This commit is contained in:
Joe Hermaszewski 2020-06-18 17:27:27 +08:00
parent d7122c3a32
commit 79987057c4

View file

@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
makeFlags = [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"ARCH=${stdenv.hostPlatform.platform.kernelArch}"
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
];
installPhase = ''