Merge "Place /usr/lib64/ccache in PATH"

This commit is contained in:
Jenkins 2014-04-25 17:17:50 +00:00 committed by Gerrit Code Review
commit e1c28525fc

View file

@ -1,5 +1,7 @@
# Put ccache in path for known compilers
if ! [[ "$PATH" =~ "/usr/lib/ccache" ]] ; then
export PATH=/usr/lib/ccache:$PATH
fi
for CCACHEDIR in "/usr/lib/ccache" "/usr/lib64/ccache" ; do
if ! [[ "$PATH" =~ "$CCACHEDIR" ]] ; then
export PATH=$CCACHEDIR:$PATH
fi
done
export CCACHE_DIR=/tmp/ccache