summaryrefslogtreecommitdiff
path: root/BUILD/SETUP.sh
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-12-06 14:05:09 +0200
committerMonty <monty@mariadb.org>2017-01-11 09:18:35 +0200
commit67034b6d5265621d67ce589cdee537571ccacfa9 (patch)
treefb719320258339256ae34c0530dcd545b3bf5d57 /BUILD/SETUP.sh
parentf27ca6f667f21b45325cc0f262f6aa632375be9a (diff)
downloadmariadb-git-67034b6d5265621d67ce589cdee537571ccacfa9.tar.gz
Fixes for running with gcov
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 01d654dba53..5f5b0250088 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -293,7 +293,7 @@ gcov_compile_flags="$gcov_compile_flags -DMYSQL_SERVER_SUFFIX=-gcov -DHAVE_gcov"
# GCC4 needs -fprofile-arcs -ftest-coverage on the linker command line (as well
# as on the compiler command line), and this requires setting LDFLAGS for BDB.
-gcov_link_flags="-fprofile-arcs -ftest-coverage"
+gcov_link_flags="-fprofile-arcs -ftest-coverage -lgcov"
gcov_configs="--with-gcov"