1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

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

View file

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