Commit 45e8c5f3 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wine-symbol-support' into 'master'

Let Wine display the correct file name and line numbers for backtraces

See merge request dbus/dbus!104
parents 74717a9c 9738a48a
......@@ -227,6 +227,11 @@ generate_warning_cflags(WARNINGS_CFLAGS "${WARNINGS}" "${WARNINGS_DISABLED}" "${
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNINGS_CFLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNINGS_CFLAGS}")
# let wine be able to show file and lines in backtrace
if(DBUS_USE_WINE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -gstabs")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -gstabs")
endif()
if(UNIX AND NOT DBUS_DISABLE_ASSERT)
# required for backtrace
......
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