diff --git a/nc_cxx.cmake b/nc_cxx.cmake index b926c72..44a6750 100644 --- a/nc_cxx.cmake +++ b/nc_cxx.cmake @@ -88,6 +88,10 @@ append_compile_flag("-fPIC") # We want a build-id so that we can attribute minidumps append_link_flag("-Wl,--build-id") +# breakpad:XXX Our supported versions of breakpad crash when dumping symbols +# from a DWARF5 binary. Just drop to DWARF4 for the moment. +append_compile_flag("-gdwarf-4") + append_compile_flag("-D__STDC_FORMAT_MACROS") add_definitions("-D_FILE_OFFSET_BITS=64")