diff options
author | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-08-20 18:45:05 +0100 |
---|---|---|
committer | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-08-20 18:45:05 +0100 |
commit | 2359506a7333686d0e3703070d2621b3cb06ed30 (patch) | |
tree | df8f7cc97a174ad87621729cfa8f12b035dfc3dd /makefiles | |
parent | d5be8343bd556d1a0c722cae9bb5b575f0f8c84e (diff) | |
download | buildsystem-2359506a7333686d0e3703070d2621b3cb06ed30.tar.gz buildsystem-2359506a7333686d0e3703070d2621b3cb06ed30.tar.bz2 |
use more portable ccache detection
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/Makefile.tools | 2 |
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 |