Only enable ccache if it's available

Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
Richard Levitte 2016-03-07 11:22:00 +01:00
parent bd5fbfe22b
commit c9aad4ff4f

View file

@ -64,7 +64,9 @@ before_script:
srcdir=../_srcdir;
mkdir _build;
cd _build;
if which ccache >/dev/null; then
CC="ccache $CC";
fi
else
srcdir=.;
cd _srcdist;