summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/build b/build
index 95c50d1..8d0e28f 100755
--- a/build
+++ b/build
@@ -76,11 +76,25 @@ install: build
fincludedir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/finclude \
toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR=
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libiberty.a
+ # Move libgcc_s.so.1 under /lib.
mkdir -p dest/lib/$(OPK_HOST_ARCH)
mv dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 dest/lib/$(OPK_HOST_ARCH)
+ # Move libgcc_s.so link.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so
ln -sf /lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libgcc_s.so
+ # Move libquadmath.so link.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libquadmath.so
+ ln -sf /usr/lib/$(OPK_HOST_ARCH)/libquadmath.so.0 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libquadmath.so
+ # Move libgomp.so link.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgomp.so
+ ln -sf /usr/lib/$(OPK_HOST_ARCH)/libgomp.so.1 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libgomp.so
+ # Move libitm.so link.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libitm.so
+ ln -sf /usr/lib/$(OPK_HOST_ARCH)/libitm.so.1 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libitm.so
# POSIX.1-2008:
# If the pathname does not begin with a '/' it shall be treated as relative to