From 054918af08eb6041e3e5400c2024bc39e472fd8d Mon Sep 17 00:00:00 2001 From: ar Date: Sun, 17 Oct 2004 10:40:42 +0000 Subject: - only set CCACHE_PREFIX when distcc is installed. remove buildrpoblems on machines without distcc (file not found on make) --- (limited to 'Vars.make') diff --git a/Vars.make b/Vars.make index e76804d..1fd942a 100644 --- a/Vars.make +++ b/Vars.make @@ -122,5 +122,6 @@ endif export CCACHE=$(shell which ccache 2>/dev/null) export DISTCC=$(shell which distcc 2>/dev/null) -export CCACHE_PREFIX=$(shell which distcc &>/dev/null && echo distcc) - +ifneq ($(DISTCC),) + export CCACHE_PREFIX=$(shell which distcc &>/dev/null && echo distcc) +endif -- cgit v0.9.0.2