Merge pull request #171470 from squalus/cdrkit-cross

cdrkit: support cross compile
This commit is contained in:
Rick van Schijndel 2022-05-09 22:04:54 +02:00 committed by GitHub
commit 775806ed3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
ln -s $out/bin/wodim $out/bin/cdrecord
'';
cmakeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "-DBITFIELDS_HTOL=0" ];
makeFlags = [ "PREFIX=\$(out)" ];
meta = {