Only enable ccache if it's available
Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
parent
bd5fbfe22b
commit
c9aad4ff4f
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ before_script:
|
|||
srcdir=../_srcdir;
|
||||
mkdir _build;
|
||||
cd _build;
|
||||
CC="ccache $CC";
|
||||
if which ccache >/dev/null; then
|
||||
CC="ccache $CC";
|
||||
fi
|
||||
else
|
||||
srcdir=.;
|
||||
cd _srcdist;
|
||||
|
|
Loading…
Reference in a new issue