summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/build b/build
index 428bdad..c6e7d79 100755
--- a/build
+++ b/build
@@ -97,6 +97,15 @@ install: build
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
mv dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.a \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
+ # Move libssp.so link.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libssp.so
+ ln -sf /usr/lib/$(OPK_HOST_ARCH)/libssp.so.0 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libssp.so
+ # Move libssp.a and libssp_nonshared.a.
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libssp.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libssp_nonshared.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
# 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)
@@ -129,6 +138,8 @@ install: build
rm -f \
dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.la \
dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.la \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libssp.la \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libssp_nonshared.la \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/liblto_plugin.la \
dest/usr/lib/$(OPK_HOST_ARCH)/libquadmath.la \
dest/usr/lib/$(OPK_HOST_ARCH)/libgomp.la \