summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2017-09-04 16:16:12 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-25 13:41:36 (GMT)
commit3d4417630d4065fb764d10c9a6d9ab69963c27bd (patch)
tree992dae17f459379365dab3a6b7e69702c586d952
parentd37bc04187a9fae7e4faa1a113099f5d0804f7a0 (diff)
downloaddefinitions-3d4417630d4065fb764d10c9a6d9ab69963c27bd.tar.gz
gnu-toolchain: Make stage2-glibc symlink ld for armv8*64
Needed to fix build on armv8
-rw-r--r--elements/gnu-toolchain/stage2-glibc.bst5
1 files changed, 5 insertions, 0 deletions
diff --git a/elements/gnu-toolchain/stage2-glibc.bst b/elements/gnu-toolchain/stage2-glibc.bst
index fd2c9b8..1871a4e 100644
--- a/elements/gnu-toolchain/stage2-glibc.bst
+++ b/elements/gnu-toolchain/stage2-glibc.bst
@@ -113,6 +113,11 @@ config:
ln -s "/usr/lib64" "%{install-root}/lib64"
ln -s "%{prefix}/lib/ld-linux-x86-64.so.2" \
"%{install-root}/usr/lib64/ld-linux-x86-64.so.2" ;;
+ armv8*64)
+ install -d "%{install-root}/usr/lib64"
+ ln -s "/usr/lib64" "%{install-root}/lib64"
+ ln -s "%{prefix}/lib/ld-linux-aarch64.so.1" \
+ "%{install-root}/usr/lib64/ld-linux-aarch64.so.1" ;;
ppc64l)
install -d "%{install-root}/usr/lib64"
ln -s "/usr/lib64" "%{install-root}/lib64"