libowfat: mark cross as broken (#393933)

This commit is contained in:
Arne Keller
2025-05-10 09:24:43 +02:00
committed by GitHub
+6 -1
View File
@@ -26,7 +26,10 @@ stdenv.mkDerivation rec {
make headers
'';
makeFlags = [ "prefix=$(out)" ];
makeFlags = [
"prefix=$(out)"
"CC=${stdenv.cc.targetPrefix}cc"
];
enableParallelBuilding = true;
meta = with lib; {
@@ -34,5 +37,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.fefe.de/libowfat/";
license = licenses.gpl2;
platforms = platforms.linux;
# build tool "json" is built for the host platform
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
};
}