diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-06-22 15:06:58 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-06-23 13:55:59 +0100 |
commit | c174ec95fd34431f4c4ddaceec61371a025fa322 (patch) | |
tree | b567f6acb653938481aa0e543132500275c5044e | |
parent | 63224e2233280204626b58fcbe5224d3582c8627 (diff) | |
download | definitions-sam/ppc64l.tar.gz |
Fix stage2-glibc on POWER 64-bit little endiansam/ppc64l
The ELF ABI version is different on little-endian.
-rw-r--r-- | strata/build-essential/stage2-glibc.morph | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/strata/build-essential/stage2-glibc.morph b/strata/build-essential/stage2-glibc.morph index f3b7cc5d..d2ead6c6 100644 --- a/strata/build-essential/stage2-glibc.morph +++ b/strata/build-essential/stage2-glibc.morph @@ -92,7 +92,11 @@ install-commands: install -d "$DESTDIR/lib64" ln -s "$PREFIX/lib/ld-linux-x86-64.so.2" \ "$DESTDIR/lib64/ld-linux-x86-64.so.2" ;; - ppc64) + ppc64l) + install -d "$DESTDIR/lib64" + ln -s "$PREFIX/lib/ld64.so.2" \ + "$DESTDIR/lib64/ld64.so.2" ;; + ppc64|ppc64b) install -d "$DESTDIR/lib64" ln -s "$PREFIX/lib/ld64.so.1" \ "$DESTDIR/lib64/ld64.so.1" ;; |