From d9799299f8c639a65bf317e299e49c0eb5539398 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 20 Aug 2012 18:46:28 +0100 Subject: make ccache detection more portable --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3