libraspberrypi: fix cross-compile conventions
This commit is contained in:
parent
3f64a4e432
commit
e89369fae6
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
cmakeFlags = [
|
||||
(if (stdenv.targetPlatform.system == "aarch64-linux") then "-DARM64=ON" else "-DARM64=OFF")
|
||||
(if (stdenv.hostPlatform.isAarch64) then "-DARM64=ON" else "-DARM64=OFF")
|
||||
"-DVMCS_INSTALL_PREFIX=$out"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user