diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-09-15 20:35:48 -0700 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-09-27 22:48:52 +0200 |
commit | 33bc0765a5e6d66e2ef3d3ee9dedfe02ff31a95c (patch) | |
tree | e5df0d279ce5030e908d747c021d4dc73ba057e1 /pkgs/development/node-packages | |
parent | fe410ce1a49bf2e08640c1ef8136a9fe6877f709 (diff) |
stage.nix: revert deletion of gcc.abi="elfv2" from 82ff1f5
Commit 82ff1f5db12f862e226e84254e54a10879f1629b in #182807 removed two lines from stage.nix which were responsible for making sure the `gcc` for `pkgsStatic` on powerpc64 was built with the `--with-abi=elfv2` flag. Unfortunately this causes build failures for `pkgsCross.ppc64.pkgsStatic`, as reported here: https://github.com/NixOS/nixpkgs/pull/182807#issuecomment-1247268226 This commit reverts the deletion. Unfortunately ugly kludges like this are necessary because nixpkgs' `lib/systems/` doesn't understand the difference between a libc and an abi. So we have no clean way to tell nixpkgs "musl on big-endian powerpc64 always uses the ELFv2 ABI" -- it thinks that musl is an ABI. Until that gets fixed there is no better way to add the flag.
Diffstat (limited to 'pkgs/development/node-packages')
0 files changed, 0 insertions, 0 deletions