Skip to content

Commit

Permalink
binutils: disable installcheck for different targetPlatforms
Browse files Browse the repository at this point in the history
  • Loading branch information
oxij committed Aug 11, 2018
1 parent fed9423 commit 35c9435
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/tools/misc/binutils/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, buildPackages
, fetchurl, zlib, autoreconfHook264
, hostPlatform, targetPlatform
, hostPlatform, buildPlatform, targetPlatform
, noSysDirs, gold ? true, bison ? null
}:

Expand Down Expand Up @@ -121,6 +121,9 @@ stdenv.mkDerivation rec {

doCheck = false; # fails

# else fails with "./sanity.sh: line 36: $out/bin/size: not found"
doInstallCheck = buildPlatform == hostPlatform && hostPlatform == targetPlatform;

enableParallelBuilding = true;

passthru = {
Expand Down

0 comments on commit 35c9435

Please sign in to comment.