libraspberrypi: fix cross-compile conventions

This commit is contained in:
Drew Risinger 2020-12-24 14:59:14 -05:00 committed by Florian Klink
parent 3f64a4e432
commit e89369fae6

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
cmakeFlags = [ 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" "-DVMCS_INSTALL_PREFIX=$out"
]; ];