From a8476d9ce6578cf7001ac31b6905906b79f34bce Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Fri, 22 Oct 2010 12:02:39 +0000 Subject: [PATCH] added "-ggdb3" to GCC flags in Debug configuratin. Hopefully, it will solve problems with tracing code with debuggers --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6955f2..a28a9c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -946,7 +946,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) #endif() set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} -DNDEBUG") - set(EXTRA_C_FLAGS_DEBUG "${EXTRA_C_FLAGS_DEBUG} -O0 -DDEBUG -D_DEBUG") + set(EXTRA_C_FLAGS_DEBUG "${EXTRA_C_FLAGS_DEBUG} -O0 -ggdb3 -DDEBUG -D_DEBUG") endif() # Extra link libs if the user selects building static libs: -- 2.7.4