summaryrefslogtreecommitdiff
path: root/BUILD
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
parent163be5fd8c69c11a78709d3aa952a7a5c6b3326c (diff)
downloadmariadb-git-60335ba16c716ea55a78cfde9c9da4e39c384729.tar.gz
Enable BUILD scripts to work with clang
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD/FINISH.sh3
-rwxr-xr-xBUILD/SETUP.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/BUILD/FINISH.sh b/BUILD/FINISH.sh
index ea5ca44d187..fd51f2f5dfe 100644
--- a/BUILD/FINISH.sh
+++ b/BUILD/FINISH.sh
@@ -61,7 +61,8 @@ if [ -z "$just_configure" -a -z "$just_clean" ]
then
commands="$commands
-$make $AM_MAKEFLAGS $AM_EXTRA_MAKEFLAGS"
+$make $AM_MAKEFLAGS $AM_EXTRA_MAKEFLAGS
+$make tags"
if [ "x$strip" = "xyes" ]
then
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