auto merge of #6836 : pnkfelix/rust/fsk-issue6805-ccache-rewrite-basedir, r=catamorphism

Attempt to get reuse of common object code from multiple clones in different directories.

This is a followup to issue #6805.
This commit is contained in:
bors 2013-05-30 14:58:47 -07:00
commit 9bfe296eb7
2 changed files with 12 additions and 0 deletions

7
configure vendored
View File

@ -970,6 +970,13 @@ then
putvar CFG_CCACHE_CPP2
fi
if [ ! -z "$CFG_ENABLE_CCACHE" ]
then
CFG_CCACHE_BASEDIR=${CFG_SRC_DIR}
putvar CFG_CCACHE_BASEDIR
fi
if [ ! -z $BAD_PANDOC ]
then
CFG_PANDOC=

View File

@ -396,6 +396,11 @@ ifeq ($(CFG_CCACHE_CPP2),1)
export CCACHE_CPP
endif
ifdef CFG_CCACHE_BASEDIR
CCACHE_BASEDIR=$(CFG_CCACHE_BASEDIR)
export CCACHE_BASEDIR
endif
define CFG_MAKE_TOOLCHAIN
CFG_COMPILE_C_$(1) = $$(CC_$(1)) \
$$(CFG_GCCISH_CFLAGS) \