summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-21 13:03:02 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-21 13:04:06 (EDT)
commit49cf3f62e5f983b6a93094b69092cec38553d5e2 (patch)
tree9acdd5cb3c8737eef10f2a4d103e9757915a7f10 /build
parent71af3c6e9b4438f9b45350b01e41d512f670bfa4 (diff)
build: Remove some libtool archives.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index 83e546a..933e9d3 100755
--- a/build
+++ b/build
@@ -104,6 +104,14 @@ install: build
# Move libitm.a.
mv dest/usr/lib/$(OPK_HOST_ARCH)/libitm.a \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
+ # Remove libtool archives.
+ rm -f \
+ 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 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libitm.la \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libstdc++.la \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libsupc++.la
# POSIX.1-2008:
# If the pathname does not begin with a '/' it shall be treated as relative to