summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-08-20 18:46:28 +0100
committerVincent Sanders <vince@netsurf-browser.org>2012-08-20 18:46:47 +0100
commitd9799299f8c639a65bf317e299e49c0eb5539398 (patch)
tree5e0251cac154ff84ae8796555bd654a856f1ff8a /Makefile
parentdd6d24e83dca2f47558193ae77a8de368eae338a (diff)
downloadnetsurf-d9799299f8c639a65bf317e299e49c0eb5539398.tar.gz
netsurf-d9799299f8c639a65bf317e299e49c0eb5539398.tar.bz2
make ccache detection more portable
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)