From: Michael Tremer Date: Wed, 26 Aug 2009 15:46:05 +0000 (+0200) Subject: gcc: Remove some subdirs that will save some compile time. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=725d80912c1f44ec995016a4a67b85d9788e1a1f;p=ipfire-3.x.git gcc: Remove some subdirs that will save some compile time. --- diff --git a/lfs/gcc b/lfs/gcc index 25889c0a5..4338459ce 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -117,6 +117,10 @@ $(OBJECT): $(objects) cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/mpfr-$(MPFR).tar.bz2 cd $(DIR_APP) && ln -svf mpfr-* mpfr + # Remove unneeded features that will save some compile time + rm -rf $(DIR_APP)/lib{gfortran,java,objc} \ + $(DIR_APP)/gcc/{fortran,java,objc,objcp} + # Branding gcc cd $(DIR_APP) && sed -e "s:PKGVERSION:\"(GCC for $(NAME)-${VERSION}) \":" \ -i gcc/version.c