summary refs log tree commit diff
path: root/pkgs/stdenv/linux/bootstrap-tools
diff options
context:
space:
mode:
authorCrystalGamma <github@crystalgamma.de>2018-08-21 21:31:34 +0200
committerJohn Ericson <mail@JohnEricson.me>2018-08-21 15:31:34 -0400
commit72d161f548701a2a8dab334dee76b63bccc0f07c (patch)
treeb7e2e8d922684bd5b7c3d269454a0a8145a44e46 /pkgs/stdenv/linux/bootstrap-tools
parentcb44c3ff4cf2c15c7e870df482126bd09ce46588 (diff)
downloadnixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.tar
nixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.tar.gz
nixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.tar.bz2
nixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.tar.lz
nixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.tar.xz
nixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.tar.zst
nixpkgs-72d161f548701a2a8dab334dee76b63bccc0f07c.zip
[RFC] ppc64le enablement (#45340)
* ppc64le enablement

* gcc, glibc: properly handle __float128

* lib/systems, stdenv: syntax cleanup

* gcc7: remove ugly hack

* gcc: add/update __float128 flags

* stdenv: add another pair of quotes for consistency

* gcc: move __float128 flag for ppc64le-glibc into common/platform-flags.nix
Diffstat (limited to 'pkgs/stdenv/linux/bootstrap-tools')
-rw-r--r--pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh b/pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh
index 85e74aea89e..64583f80fa8 100644
--- a/pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh
+++ b/pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh
@@ -9,6 +9,9 @@ echo Patching the bootstrap tools...
 if test -f $out/lib/ld.so.?; then
    # MIPS case
    LD_BINARY=$out/lib/ld.so.?
+elif test -f $out/lib/ld64.so.?; then
+   # ppc64(le)
+   LD_BINARY=$out/lib/ld64.so.?
 else
    # i686, x86_64 and armv5tel
    LD_BINARY=$out/lib/ld-*so.?