From 2359506a7333686d0e3703070d2621b3cb06ed30 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 20 Aug 2012 18:45:05 +0100 Subject: use more portable ccache detection --- makefiles/Makefile.tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefiles/Makefile.tools') diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 2f0ca05..19c905c 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -399,7 +399,7 @@ XSLTPROC ?= xsltproc # 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 -- cgit v1.2.3