diff options
author | Mike Grissom <mikeyman77@gmail.com> | 2013-08-26 16:09:51 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:33:24 -0700 |
commit | 137b73cd05b6678ea2c6a3ac8f4c8b13d9d048f2 (patch) | |
tree | a1010ccd41e26cb50e18f8b799d6b69d9a784559 /core/combo | |
parent | 8420a66a262762ebc1256c6fa630c17e50f63fe4 (diff) | |
download | build-137b73cd05b6678ea2c6a3ac8f4c8b13d9d048f2.zip build-137b73cd05b6678ea2c6a3ac8f4c8b13d9d048f2.tar.gz build-137b73cd05b6678ea2c6a3ac8f4c8b13d9d048f2.tar.bz2 |
Don't set CCACHE_BASEDIR if its already set
* enable use of shared ccache
Change-Id: Ic708a5d5169291d674b167aa2c87bf2c8adaafae
Diffstat (limited to 'core/combo')
-rw-r--r-- | core/combo/select.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/combo/select.mk b/core/combo/select.mk index 967a3b2..5842705 100644 --- a/core/combo/select.mk +++ b/core/combo/select.mk @@ -64,7 +64,9 @@ ifneq ($(USE_CCACHE),) # We don't really use system headers much so the rootdir is # fine; ensures these paths are relative for all Android trees # on a workstation. - export CCACHE_BASEDIR := $(ANDROID_BUILD_TOP) + ifeq ($(CCACHE_BASEDIR),) + export CCACHE_BASEDIR := $(ANDROID_BUILD_TOP) + endif # Workaround for ccache with clang. # See http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html |