summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cecd9742..0dce8c8e7 100644
--- a/Makefile
+++ b/Makefile
@@ -266,7 +266,7 @@ endif
# CCACHE
ifeq ($(origin CCACHE),undefined)
- CCACHE=$(shell ccache -V >/dev/null 2>&1 && echo ccache || echo)
+ CCACHE=$(word 1,$(shell ccache -V 2>/dev/null))
endif
CC := $(CCACHE) $(CC)