summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
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