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:
parent
0f0c250967
commit
9120da4c4a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user