binutils: enable gold when cross compiling on darwin

This basically reverts:
 - 3c5188cc ('binutils: disable gold when building on darwin')
 - 457b48cc ('binutils: apply patch when cross compiling from darwin')

Tested by building:
 - nix build -f . pkgsCross.i686-embedded.buildPackages.binutils
 - nix build -f . pkgsCross.aarch64-embedded.buildPackages.binutils
This commit is contained in:
Dmitry Kalinkin 2021-01-14 19:06:22 -05:00
parent 0f0c250967
commit 9120da4c4a
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -4,7 +4,7 @@
, withAllTargets ? false, libbfd, libopcodes , withAllTargets ? false, libbfd, libopcodes
, enableShared ? !stdenv.hostPlatform.isStatic , enableShared ? !stdenv.hostPlatform.isStatic
, noSysDirs , noSysDirs
, gold ? !stdenv.buildPlatform.isDarwin || stdenv.hostPlatform == stdenv.targetPlatform , gold ? true
, bison ? null , bison ? null
, flex , flex
, texinfo , texinfo