1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:07:34 +00:00

Meta: Enable DWARF 5 debug information

For our use case DWARF 5 seems to work fine now (see previous commit)
This commit is contained in:
MacDue 2023-05-06 19:40:26 +01:00 committed by Andreas Kling
parent cf79df0edb
commit 7f3b98093e

View file

@ -24,10 +24,6 @@ add_compile_options(-fstack-clash-protection)
add_compile_options(-fstack-protector-strong)
add_link_options(-fstack-protector-strong)
# FIXME: Remove this once DWARF revision 5 is supported
add_compile_options(-gdwarf-4)
# Note: This needs to be set _after_ setting the DWARF version, otherwise we end up generating more debug information than we need.
add_compile_options(-g1)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")