Build: Partial revert of 2b38f40988

This commit is contained in:
Shauren
2025-10-11 14:09:19 +02:00
parent 4add9d21a0
commit 1c487de3b9
2 changed files with 14 additions and 6 deletions

View File

@@ -57,9 +57,13 @@ if(WITH_WARNINGS)
message(STATUS "Clang: All warnings enabled")
endif()
target_compile_options(trinity-compile-option-interface
INTERFACE
$<$<OR:$<CONFIG:Debug,RelWithDebInfo>,$<BOOL:${WITH_COREDEBUG}>>:-g3 -glldb>)
if(WITH_COREDEBUG)
target_compile_options(trinity-compile-option-interface
INTERFACE
-g3 -glldb)
message(STATUS "Clang: Debug-flags set (-g3 -glldb)")
endif()
if(ASAN)
target_compile_options(trinity-compile-option-interface

View File

@@ -41,9 +41,13 @@ if(WITH_WARNINGS)
message(STATUS "GCC: All warnings enabled")
endif()
target_compile_options(trinity-compile-option-interface
INTERFACE
$<$<OR:$<CONFIG:Debug,RelWithDebInfo>,$<BOOL:${WITH_COREDEBUG}>>:-ggdb3>)
if(WITH_COREDEBUG)
target_compile_options(trinity-compile-option-interface
INTERFACE
-ggdb3)
message(STATUS "GCC: Debug-flags set (-ggdb3)")
endif()
if(ASAN)
target_compile_options(trinity-compile-option-interface