mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fix for ccache detection problem on cygwin.
This commit is contained in:
parent
087aecff79
commit
a0d7d92883
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue