mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
Meta: Force compilation with DWARF revision 4
We currently don't support DWARF revision 5 and LLVM/Clang might create such debug info into our binaries in x86_64, which will lead to a crash in CrashReporter that is unable to parse that information correctly.
This commit is contained in:
parent
8c9128f36d
commit
fb0dee5a54
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ add_compile_options(-fstack-protector-strong)
|
|||
add_link_options(-fstack-protector-strong)
|
||||
add_compile_options(-g1)
|
||||
|
||||
# FIXME: Remove this once DWARF revision 5 is supported
|
||||
add_compile_options(-gdwarf-4)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_compile_options(-Wno-literal-suffix)
|
||||
add_compile_options(-Wno-maybe-uninitialized)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue