about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-30 14:58:47 -0700
committerbors <bors@rust-lang.org>2013-05-30 14:58:47 -0700
commit9bfe296eb720e56803126a5c639b713f9032298b (patch)
tree519d3208594eaafe96cdcad7e84368503429a927 /configure
parent784a8495d211c2195911e0a7ee5bcada931b3d45 (diff)
parent7f410b326cef0939f581dcb7a469680b3c9c98b2 (diff)
downloadrust-9bfe296eb720e56803126a5c639b713f9032298b.tar.gz
rust-9bfe296eb720e56803126a5c639b713f9032298b.zip
auto merge of #6836 : pnkfelix/rust/fsk-issue6805-ccache-rewrite-basedir, r=catamorphism
Attempt to get reuse of common object code from multiple clones in different directories.

This is a followup to issue #6805.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 6c9c88e606f..767eb332ac1 100755
--- a/configure
+++ b/configure
@@ -970,6 +970,13 @@ then
     putvar CFG_CCACHE_CPP2
 fi
 
+if [ ! -z "$CFG_ENABLE_CCACHE" ]
+then
+    CFG_CCACHE_BASEDIR=${CFG_SRC_DIR}
+    putvar CFG_CCACHE_BASEDIR
+fi
+
+
 if [ ! -z $BAD_PANDOC ]
 then
     CFG_PANDOC=