binutils: format input attrs

main
Bernardo Meurer 2 years ago
parent 561781c4d7
commit c748ef4d1b
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246
  1. 24
      pkgs/development/tools/misc/binutils/default.nix

@ -2,17 +2,23 @@ let
execFormatIsELF = platform: platform.parsed.kernel.execFormat.name == "elf";
in
{ stdenv, lib, buildPackages
, fetchFromGitHub, fetchurl, zlib, autoreconfHook, gettext
# Enabling all targets increases output size to a multiple.
, withAllTargets ? false, libbfd, libopcodes
, enableShared ? !stdenv.hostPlatform.isStatic
, noSysDirs
, gold ? execFormatIsELF stdenv.targetPlatform
, bison ? null
{ stdenv
, autoreconfHook
, bison
, buildPackages
, fetchFromGitHub
, fetchurl
, flex
, texinfo
, gettext
, lib
, noSysDirs
, perl
, texinfo
, zlib
, gold ? execFormatIsELF stdenv.targetPlatform
, enableShared ? !stdenv.hostPlatform.isStatic
# Enabling all targets increases output size to a multiple.
, withAllTargets ? false, libbfd, libopcodes
}:
# configure silently disables ld.gold if it's unsupported,

Loading…
Cancel
Save