libf2c: mark cross as broken

+10
+10
pkgs/by-name/li/libf2c/package.nix
··· 20 20 unzip ${src} 21 21 ''; 22 22 23 + postPatch = '' 24 + substituteInPlace makefile.u \ 25 + --replace-fail "ld" "${stdenv.cc.targetPrefix}ld" 26 + ''; 27 + 23 28 makeFlags = [ 24 29 "-f" 25 30 "makefile.u" 31 + "CC=${stdenv.cc.targetPrefix}cc" 26 32 ]; 27 33 28 34 installPhase = '' ··· 44 50 homepage = "http://www.netlib.org/f2c/"; 45 51 license = lib.licenses.mit; 46 52 platforms = lib.platforms.unix; 53 + # Generates arith.h at build time. Uses non-standard fpu_control.h. 54 + broken = 55 + (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) 56 + || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "glibc"); 47 57 }; 48 58 }