nixpkgs/pkgs/stdenv/linux
Adam Joseph 3778e07994 stdenv: fix pkgsMusl
I broke `pkgsMusl` with #209870.

Something odd is happening with `xgcc` (the temporary compiler that
should be used only to compile `gcc`, although we are using it to
compile a temporary `patchelf` too) and `libstdc++`.

The temporary fix in this commit is to use `-static-libstdc++` for
the ephemeral `patchelf` built by `xgcc`.  It isn't pretty, but it
appears to work.

Incorporates:

- https://github.com/NixOS/nixpkgs/pull/224945
2023-04-06 03:16:31 -07:00
..
bootstrap-files Merge remote-tracking branch 'origin/master' into staging-next 2023-03-10 13:09:25 +01:00
bootstrap-tools unpack-bootstrap-tools.sh: patchelf libgcc_s.so.1 2023-04-02 13:49:53 -07:00
bootstrap-tools-musl gcc: mark hardeningUnsupportedFlags fortify3 for all but gcc 12 2023-01-24 21:52:12 +00:00
default.nix stdenv: fix pkgsMusl 2023-04-06 03:16:31 -07:00
make-bootstrap-tools-cross.nix make-bootstrap-tools-cross: enable Hydra builds of mips32el bootstrap-files 2022-06-29 14:48:13 -07:00
make-bootstrap-tools.nix make-bootstrap-tools.nix: use a patchelf built with -static-{libgcc,libstdc++} 2023-04-02 13:49:53 -07:00