Skip to content

Commit 014e5d5

Browse files
committed
Remove unnecessary debug flag from TSAN_FLAGS
1 parent 1b2e2ab commit 014e5d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ IF (ENABLE_ADDRESS_SANITIZER AND (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUI
491491
add_link_options(-fsanitize=address)
492492
ELSEIF (ENABLE_THREAD_SANITIZER AND (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "DEBUG"))
493493
MESSAGE (STATUS "ENABLE_THREAD_SANITIZER: TRUE")
494-
set(TSAN_FLAGS " -g -fsanitize=thread")
494+
set(TSAN_FLAGS " -fsanitize=thread")
495495
string(APPEND CMAKE_C_FLAGS ${TSAN_FLAGS})
496496
string(APPEND CMAKE_CXX_FLAGS ${TSAN_FLAGS})
497497
add_link_options(-fsanitize=thread)

0 commit comments

Comments
 (0)