Skip to content

Commit 846f0d6

Browse files
author
Tor Didriksen
committed
Merge branch 'mysql-5.5' into mysql-5.6
2 parents 651e443 + 01ea63b commit 846f0d6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,9 @@ IF (WITH_ASAN)
288288
ENDIF()
289289
ENDIF()
290290

291-
292-
IF(CMAKE_BUILD_TYPE MATCHES "Debug" OR WITH_DEBUG)
293-
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
294-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
295-
ENDIF()
291+
# Always enable debug sync for debug builds.
292+
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
293+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
296294

297295
# Older versions of ccache must be disabled: export CCACHE_DISABLE=1
298296
# See http://www.cmake.org/Uncyclo/CTest/Coverage

0 commit comments

Comments
 (0)