summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-21 13:46:09 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-21 13:46:09 (EDT)
commitbc8f3095b8db48e711df6712231e7fca0a5af265 (patch)
treec4d4a9f7402101856d5f8f92d8e76678f057468a
parentca529979f26b88b82462fe8e7ae1d1f67836f0a0 (diff)
build: Move libstdc++ files.
-rwxr-xr-xbuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/build b/build
index 34321f2..428bdad 100755
--- a/build
+++ b/build
@@ -76,6 +76,15 @@ 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 libstdc++.so link.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libstdc++.so
+ ln -sf /usr/lib/$(OPK_HOST_ARCH)/libstdc++.so.0 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libstdc++.so
+ # Move libstdc++.a and libsupc++.a.
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libstdc++.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libsupc++.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
# Move libmudflap.so and libmudflapth.so links.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.so
ln -sf /usr/lib/$(OPK_HOST_ARCH)/libmudflap.so.0 \