Commit a8476d9c authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

added "-ggdb3" to GCC flags in Debug configuratin. Hopefully, it will solve…

added "-ggdb3" to GCC flags in Debug configuratin. Hopefully, it will solve problems with tracing code with debuggers
parent 969855d7
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment