cxx: force use of DWARF4 for breakpad compatibility

This commit is contained in:
Danny Robson 2021-05-26 12:49:53 +10:00
parent 9843d15679
commit ea804359fb

View File

@ -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")