Merge pull request #756 from AndersHoglund/fix-ccache-detection

Fix for ccache detection problem on cygwin.
This commit is contained in:
Anders Höglund 2016-07-15 14:10:36 +01:00 committed by GitHub
commit 5590ecf603
1 changed files with 2 additions and 2 deletions

View File

@ -548,8 +548,8 @@ VPATH := $(VPATH):$(STDPERIPH_DIR)/src
# Find out if ccache is installed on the system
CCACHE := ccache
RESULT = $(shell which $(CCACHE))
ifeq ($(RESULT),)
RESULT = $(shell (which $(CCACHE) > /dev/null 2>&1; echo $$?) )
ifneq ($(RESULT),0)
CCACHE :=
endif