mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +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
|
# 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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue