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:
commit
5590ecf603
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