Switch off -D_GLIBCXX_DEBUG for Clang on Linux
(see 73b088a6dd
for Makefile)
This commit is contained in:
parent
1d7fac3ca9
commit
e5a3ba7cac
|
@ -103,6 +103,12 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR
|
|||
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" AND
|
||||
"${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
|
||||
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -U_GLIBCXX_DEBUG")
|
||||
endif()
|
||||
|
||||
include(cmake/dynamic_analyzer_options.cmake REQUIRED)
|
||||
|
||||
# Add user supplied extra options (optimization, etc...)
|
||||
|
|
Loading…
Reference in New Issue