summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-package.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-package.inc')
-rw-r--r--meta/packages/gcc/gcc-package.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-package.inc b/meta/packages/gcc/gcc-package.inc
index 011c4fab6..0140126ba 100644
--- a/meta/packages/gcc/gcc-package.inc
+++ b/meta/packages/gcc/gcc-package.inc
@@ -126,6 +126,9 @@ do_install () {
ln -sf gcc cc
ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp
ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp
+
+ # Remove precompiled c++ headers as they are really big
+ rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_SYS}/bits/*.gch
}
# The gcc package contains symlinks that trip up insane