From: Arne Fitzenreiter Date: Fri, 25 Sep 2009 08:14:12 +0000 (+0200) Subject: Fix ccache in toolchain was build only with host gcc/binutils X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b548ddb77a2ab7108fe7527770d16987641b478d;p=ipfire-3.x.git Fix ccache in toolchain was build only with host gcc/binutils --- diff --git a/lfs/ccache b/lfs/ccache index ca1cbb7a3..78fbad00b 100644 --- a/lfs/ccache +++ b/lfs/ccache @@ -32,7 +32,7 @@ THISAPP = $(PKG_NAME)-$(PKG_VER) DL_FILE = $(THISAPP).tar.gz DIR_APP = $(DIR_SRC)/$(THISAPP) -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS) MAINTAINER = GROUP = Development/Compilers diff --git a/make.sh b/make.sh index 810db2d37..8ec8af2eb 100755 --- a/make.sh +++ b/make.sh @@ -52,7 +52,7 @@ toolchain_build() { icecc_disable toolchain_make stage1 - toolchain_make ccache + toolchain_make ccache PASS=1 toolchain_make binutils PASS=1 toolchain_make gcc PASS=1 toolchain_make linux-headers @@ -75,6 +75,7 @@ toolchain_build() { toolchain_make icecc icecc_enable icecc_use toolchain # Use the fresh gcc + toolchain_make ccache PASS=2 toolchain_make file toolchain_make findutils toolchain_make gawk