summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-gcov
diff options
context:
space:
mode:
authorunknown <knielsen@ymer.(none)>2007-07-07 07:48:43 +0200
committerunknown <knielsen@ymer.(none)>2007-07-07 07:48:43 +0200
commitefbcbad4df08a44ce93c35752e315a981812edae (patch)
treeef182257b4df3b1215ebe163cd1543bdf339c5d9 /BUILD/compile-pentium-gcov
parent107d13e7c79659305510f03b7c29199d1264d323 (diff)
parent87e1a302c3bbd0f956883321358da8d1dec0591e (diff)
downloadmariadb-git-efbcbad4df08a44ce93c35752e315a981812edae.tar.gz
Merge ymer.(none):/usr/local/mysql/mysql-5.0-engines
into ymer.(none):/usr/local/mysql/mysql-5.1-engines sql/stacktrace.c: Auto merged BUILD/compile-pentium-gcov: Manual merge.
Diffstat (limited to 'BUILD/compile-pentium-gcov')
-rwxr-xr-xBUILD/compile-pentium-gcov5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILD/compile-pentium-gcov b/BUILD/compile-pentium-gcov
index 5ee3c071f61..77de5867d48 100755
--- a/BUILD/compile-pentium-gcov
+++ b/BUILD/compile-pentium-gcov
@@ -26,8 +26,9 @@ export LDFLAGS="-fprofile-arcs -ftest-coverage"
# The -fprofile-arcs and -ftest-coverage options cause GCC to instrument the
# code with profiling information used by gcov.
-# the -DDISABLE_TAO_ASM is needed to avoid build failures in Yassl.
-extra_flags="$pentium_cflags -fprofile-arcs -ftest-coverage -DDISABLE_TAO_ASM -DHAVE_MUTEX_THREAD_ONLY $debug_extra_flags $debug_cflags $max_cflags -DMYSQL_SERVER_SUFFIX=-gcov"
+# The -DDISABLE_TAO_ASM is needed to avoid build failures in Yassl.
+# The -DHAVE_gcov enables code to write out coverage info even when crashing.
+extra_flags="$pentium_cflags -fprofile-arcs -ftest-coverage -DDISABLE_TAO_ASM -DHAVE_MUTEX_THREAD_ONLY $debug_extra_flags $debug_cflags $max_cflags -DMYSQL_SERVER_SUFFIX=-gcov -DHAVE_gcov"
extra_configs="$pentium_configs $debug_configs --disable-shared $static_link"
extra_configs="$extra_configs $max_configs"
c_warnings="$c_warnings $debug_extra_warnings"