summaryrefslogtreecommitdiffstats
path: root/ccache/ccache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ccache/ccache.sh')
-rw-r--r--ccache/ccache.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ccache/ccache.sh b/ccache/ccache.sh
new file mode 100644
index 000000000..73b439ba4
--- /dev/null
+++ b/ccache/ccache.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ -d /usr/lib/ccache/bin ] && [ ! -d /usr/lib/colorgcc/bin ]; then
+ pathprepend /usr/lib/ccache/bin
+fi
+export CCACHE_DIR=/var/lib/ccache
+export CCACHE_UMASK=002