From de3945a340490484befc95f9dd9f9ba854f841d8 Mon Sep 17 00:00:00 2001 From: squalus Date: Tue, 3 May 2022 18:00:49 -0700 Subject: [PATCH] cdrkit: support cross compile bypass the configure time check for bitfield ordering --- pkgs/tools/cd-dvd/cdrkit/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/cd-dvd/cdrkit/default.nix b/pkgs/tools/cd-dvd/cdrkit/default.nix index e3d53297193f..e28d4f8b9c7e 100644 --- a/pkgs/tools/cd-dvd/cdrkit/default.nix +++ b/pkgs/tools/cd-dvd/cdrkit/default.nix @@ -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 = {