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

This commit is contained in:
Felix S. Klock II 2013-05-30 16:26:12 +02:00
parent ca74cbdc5c
commit 7f410b326c
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) \