.bashrc: +CCACHE_PREFIX
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 57623c7..12918b8 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -224,6 +224,9 @@ if [ -n "$cpus" ];then
        MAKEFLAGS="$MAKEFLAGS -j$[$cpus*1]"
 fi
 unset cpus
+if (which icecc && pidof iceccd) &>/dev/null;then
+       export CCACHE_PREFIX=icecc
+fi
 # Do not: grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220
 # as Sun workaround as Debian misses: /etc/termcap
 # expects: $uname_p