Enable BUILD scripts to work with clang

This commit is contained in:
Monty 2020-08-17 18:42:58 +03:00 committed by Sergei Golubchik
commit 60335ba16c
2 changed files with 3 additions and 2 deletions

View file

@ -276,7 +276,7 @@ then
CCACHE_GCOV_VERSION_ENABLED=1
fi
if ccache -V > /dev/null 2>&1 && test "$CCACHE_GCOV_VERSION_ENABLED" = "1"
if ccache -V > /dev/null 2>&1 && test "$CCACHE_GCOV_VERSION_ENABLED" = "1" && test "$CC" = "gcc"
then
if test -x /usr/lib64/ccache/gcc
then