summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-21 14:07:08 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-21 14:07:08 (EDT)
commita94e78dffaaacd94705d0693f027cab18ebab0be (patch)
treea565c639f480fc8e176fbe2e2019d0989a10270e
parentbc8f3095b8db48e711df6712231e7fca0a5af265 (diff)
build: Move and remove libssp files.
-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 \