summaryrefslogtreecommitdiff
path: root/BUILD/SETUP.sh
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-08-17 18:42:58 +0300
committerSergei Golubchik <serg@mariadb.org>2021-05-19 22:27:28 +0200
commit60335ba16c716ea55a78cfde9c9da4e39c384729 (patch)
tree00221355c0ac431a3c850f440747a38436c2eaf1 /BUILD/SETUP.sh
parent163be5fd8c69c11a78709d3aa952a7a5c6b3326c (diff)
downloadmariadb-git-60335ba16c716ea55a78cfde9c9da4e39c384729.tar.gz
Enable BUILD scripts to work with clang
Diffstat (limited to 'BUILD/SETUP.sh')
-rwxr-xr-xBUILD/SETUP.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 041749784ce..bc4c65d5f6b 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -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