From 4ed818f573cf0ec02d8675b8e247dd5033369d16 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Sat, 12 Mar 2011 13:05:15 +0100 Subject: Fix windows build when USE_CCACHE is defined. This avoids a problem where the Makefile force the use of the non-existing prebuilt/windows/ccache/ccache. Change-Id: Icad0fb91a211787bbe73b169aa4e8046de349679 --- Makefile.android | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.android') diff --git a/Makefile.android b/Makefile.android index dd05398..4b6e211 100644 --- a/Makefile.android +++ b/Makefile.android @@ -105,6 +105,7 @@ ifneq ($(BUILD_STANDALONE_EMULATOR),true) ifneq ($(USE_CCACHE),) ccache := prebuilt/$(HOST_PREBUILT_TAG)/ccache/ccache + ccache := $(strip $(wildcard $(ccache))) ifneq ($(ccache),$(firstword $(MY_CC))) MY_CC := $(ccache) $(MY_CC) endif -- cgit v1.1