From 7f3b98093e0b8b0e4d31b93bf7ebf3fb26a8b421 Mon Sep 17 00:00:00 2001 From: MacDue Date: Sat, 6 May 2023 19:40:26 +0100 Subject: [PATCH] Meta: Enable DWARF 5 debug information For our use case DWARF 5 seems to work fine now (see previous commit) --- Meta/CMake/serenity_compile_options.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Meta/CMake/serenity_compile_options.cmake b/Meta/CMake/serenity_compile_options.cmake index 6fcc971703..d1a24f14ca 100644 --- a/Meta/CMake/serenity_compile_options.cmake +++ b/Meta/CMake/serenity_compile_options.cmake @@ -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")