summaryrefslogtreecommitdiff
path: root/BUILD/compile-amd64-gcov
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-06-14 19:51:37 +0300
committerMonty <monty@mariadb.org>2021-06-14 20:36:36 +0300
commit7f0024a54f9b107800ddbd21246e375f4660790d (patch)
tree12cd7196956373516af24a6b4169d2ca41985fc4 /BUILD/compile-amd64-gcov
parentc2c10094a81ef64b2db9b9154abe6109133461e6 (diff)
downloadmariadb-git-7f0024a54f9b107800ddbd21246e375f4660790d.tar.gz
Fixed BUILD scripts to remove all .gcov and .gcno files from submodules
Other things: - Do not use ccache when building with gcov
Diffstat (limited to 'BUILD/compile-amd64-gcov')
-rwxr-xr-xBUILD/compile-amd64-gcov3
1 files changed, 2 insertions, 1 deletions
diff --git a/BUILD/compile-amd64-gcov b/BUILD/compile-amd64-gcov
index c9bd3f36dd2..83c6b64d678 100755
--- a/BUILD/compile-amd64-gcov
+++ b/BUILD/compile-amd64-gcov
@@ -16,12 +16,13 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
path=`dirname $0`
-. "$path/SETUP.sh"
# Need to disable ccache, or we loose the gcov-needed compiler output files.
CCACHE_DISABLE=1
export CCACHE_DISABLE
+. "$path/SETUP.sh"
+
export LDFLAGS="$gcov_link_flags"
extra_flags="$amd64_cflags $debug_cflags $max_cflags $gcov_compile_flags"