nixpkgs/pkgs/development/misc/newlib
Adam Joseph 1e47c87fd2 newlib: fix newlib host/target workaround
The newlib configury uses `host` to refer to the platform which is
being used to compile newlib.  Ugh.  It does this because of its
history: newlib used to be distributed with and built as part of
gcc.

To prevent nixpkgs from going insane, this package presents the
"normal" view to the outside world: the binaries in $out will
execute on `stdenv.hostPlatform`.  We then fool newlib's build
process into doing the right thing.
2023-11-12 02:12:42 +00:00
..
default.nix newlib: fix newlib host/target workaround 2023-11-12 02:12:42 +00:00