added "-ggdb3" to GCC flags in Debug configuratin. Hopefully, it will solve problems...
authorVadim Pisarevsky <no@email>
Fri, 22 Oct 2010 12:02:39 +0000 (12:02 +0000)
committerVadim Pisarevsky <no@email>
Fri, 22 Oct 2010 12:02:39 +0000 (12:02 +0000)
CMakeLists.txt

index a6955f2..a28a9c1 100644 (file)
@@ -946,7 +946,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
     #endif()\r
 \r
     set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} -DNDEBUG")\r
-    set(EXTRA_C_FLAGS_DEBUG "${EXTRA_C_FLAGS_DEBUG} -O0 -DDEBUG -D_DEBUG")\r
+    set(EXTRA_C_FLAGS_DEBUG "${EXTRA_C_FLAGS_DEBUG} -O0 -ggdb3 -DDEBUG -D_DEBUG")\r
 endif()\r
 \r
 # Extra link libs if the user selects building static libs:\r