3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/linux
John Ericson adaa110a72 binutils: No more darwin conditionals
Since at least d7bddc27b2, we've had a
situation where one should depend on:

 - `stdenv.cc.bintools`: for executables at build time
 - `libbfd` or `libiberty`: for those libraries
 - `targetPackages.cc.bintools`: for exectuables at *run* time
 - `binutils`: only for specifically GNU Binutils's executables,
   regardless of the host platform, at run time.

and that commit cleaned up this usage to reflect that. This PR flips the
switch so that:

 - `binutils` is indeed unconditionally GNU Binutils
 - `binutils-raw`, which previously served that role, is gone.

so that the correct usage will be enforced going forward and everything
is simple.

N.B. In a few cases `binutils-unwrapped` (which before and now was
unconditionally actual GNU binutils), rather than `binutils` was used to
replace old `binutils-raw` as it is friendly towards some cross
compilation usage by avoiding a reference to the next bootstrapping
change.
2018-04-03 13:34:52 -04:00
..
bootstrap-files x86_64-musl bootstrap: use separate 64bit busybox 2018-02-13 09:45:05 -06:00
bootstrap-tools linux stdenv: Avoid assert false 2016-12-15 17:09:29 -05:00
bootstrap-tools-musl linux bootstrap for musl: kludgery 2018-02-13 09:44:39 -06:00
default.nix binutils: No more darwin conditionals 2018-04-03 13:34:52 -04:00
make-bootstrap-tools-cross.nix Enable building riscv64 cross bootstrap tools 2018-02-18 16:07:13 -05:00
make-bootstrap-tools.nix make-bootstrap-tools: preserve coreutils symlinks 2018-03-06 15:13:56 +02:00