summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-22 15:06:58 (GMT)
committerJavier Jardón <jjardon@gnome.org>2017-06-23 18:55:28 (GMT)
commite214eed4fcda9c2c679c69babde81bf557121aa1 (patch)
tree26ee3cad9870f10e5aa4ec202977d39d85d313b4
parent64813d0134a7796f9de9a98ebe2410d97680d51a (diff)
downloaddefinitions-e214eed4fcda9c2c679c69babde81bf557121aa1.tar.gz
Fix stage2-glibc on POWER 64-bit little endian
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" ;;