diff options
author | David 'Digit' Turner <digit@android.com> | 2011-03-12 13:05:15 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-03-12 13:05:15 +0100 |
commit | 4ed818f573cf0ec02d8675b8e247dd5033369d16 (patch) | |
tree | 4dc6141513dc35ce29feb850f58053c821b9ca60 /Makefile.android | |
parent | 588043e545f78b44d6bfea52d9198916165e65c1 (diff) | |
download | external_qemu-4ed818f573cf0ec02d8675b8e247dd5033369d16.zip external_qemu-4ed818f573cf0ec02d8675b8e247dd5033369d16.tar.gz external_qemu-4ed818f573cf0ec02d8675b8e247dd5033369d16.tar.bz2 |
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
Diffstat (limited to 'Makefile.android')
-rw-r--r-- | Makefile.android | 1 |
1 files changed, 1 insertions, 0 deletions
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 |