From 1f698eae6debb8edc13053efca0556704155a6c4 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 25 Jan 2014 19:03:50 -0800 Subject: [PATCH] use ccache for relay build too --- xwords4/relay/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xwords4/relay/Makefile b/xwords4/relay/Makefile index f2eab8ee0..b85aeb906 100644 --- a/xwords4/relay/Makefile +++ b/xwords4/relay/Makefile @@ -58,6 +58,11 @@ CPPFLAGS += $(shell pkg-config --cflags glib-2.0) # CPPFLAGS += -DDO_HTTP CPPFLAGS += -DHAVE_STIME +ifneq ($(shell which ccache),) + CC := ccache $(CC) + CXX := ccache $(CXX) +endif + # turn on semaphore debugging # CPPFLAGS += -DDEBUG_LOCKS