summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-22 15:06:58 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-23 12:55:59 (GMT)
commitc174ec95fd34431f4c4ddaceec61371a025fa322 (patch)
treeb567f6acb653938481aa0e543132500275c5044e
parent63224e2233280204626b58fcbe5224d3582c8627 (diff)
downloaddefinitions-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.morph6
1 files changed, 5 insertions, 1 deletions
diff --git a/strata/build-essential/stage2-glibc.morph b/strata/build-essential/stage2-glibc.morph
index f3b7cc5..d2ead6c 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" ;;