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 154cf36..81142cb 100755
--- a/build
+++ b/build
@@ -249,6 +249,14 @@ $(installcross_targets):
$(destdir)/usr/bin/*-$${f}-$(base_version) | \
sed "s/^.*-\($${f}\)/\1/"); \
done
+ libdir=/usr/lib/$(target) && \
+ rm -Rf \
+ $(destdir)$${libdir}/gcc-$(base_version)/liblto_plugin.la \
+ $(destdir)$${libdir}/gcc-$(base_version)/install-tools \
+ $(destdir)$${libdir}/gcc-$(base_version)/plugin \
+ $(destdir)/usr/share/locale \
+ $(destdir)/usr/share/man \
+ $(destdir)/usr/share/info
oh-fixperms -d "$(destdir)"
oh-strip -d "$(destdir)"
OPK_PACKAGES="\