From ad88468d2f2cb19ac5a53d1de7e1eec454a8423c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 21 Oct 2006 17:08:10 +0000 Subject: [PATCH] Add --ccache-dir git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18762 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tools/heimdal-build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/heimdal-build.sh b/tools/heimdal-build.sh index dd8f78799..16619148e 100644 --- a/tools/heimdal-build.sh +++ b/tools/heimdal-build.sh @@ -67,6 +67,10 @@ do cputimelimit="$2" shift 2 ;; + --ccache-dir) + ccachedir="$2" + shift 2 + ;; --cvs) hversion="heimdal-cvs-${date}" cvsroot=$2 @@ -200,6 +204,11 @@ if [ X"$autotools" = Xyes ]; then env DATEDVERSION="cvs-${date}" ${hversion}/fix-export ${hversion} fi +if [ X"$ccachedir" != X ]; then + CCACHE_DIR="${ccachedir}" + export CCACHE_DIR +fi + cd ${hversion} || exit 1 mkdir socket_wrapper_dir