summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-08-20 18:45:05 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-08-20 18:45:05 +0100
commit2359506a7333686d0e3703070d2621b3cb06ed30 (patch)
treedf8f7cc97a174ad87621729cfa8f12b035dfc3dd
parentd5be8343bd556d1a0c722cae9bb5b575f0f8c84e (diff)
downloadbuildsystem-2359506a7333686d0e3703070d2621b3cb06ed30.tar.gz
buildsystem-2359506a7333686d0e3703070d2621b3cb06ed30.tar.bz2
use more portable ccache detection
-rw-r--r--makefiles/Makefile.tools2
1 files changed, 1 insertions, 1 deletions
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