diff options
author | Anel Husakovic <anel@mariadb.org> | 2021-06-15 06:43:01 +0200 |
---|---|---|
committer | Anel Husakovic <anel@mariadb.org> | 2021-06-15 06:43:01 +0200 |
commit | 2604ccfb53812074229228df07e56994d6fe2a79 (patch) | |
tree | 9ec4b0f7d8336d95aee464f8d564d102e179b8b9 | |
parent | 11df8e9c9f8594f37df5fc2a4ac8e81a6969f59a (diff) | |
download | mariadb-git-bb-10.6-anel-MDEV-25914-no-gcda.tar.gz |
MDEV-25914: gcda data files are not created when invoking the test for GCOV buildsbb-10.6-anel-MDEV-25914-no-gcda
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d6cf989711d..1762321b1fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,7 +270,7 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC") SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC") OPTION(ENABLE_GCOV "Enable gcov (debug, Linux builds only)" OFF) -IF (ENABLE_GCOV) +IF (ENABLE_GCOV AND NOT WITH_SSL MATCHES "bundled") MY_CHECK_AND_SET_COMPILER_FLAG("-DHAVE_gcov -fprofile-arcs -ftest-coverage -lgcov" DEBUG) ENDIF() |