Leave symbols in for Release CMake builds too

This commit is contained in:
Saúl Ibarra Corretgé 2023-11-13 13:02:11 +01:00
parent f404980ec0
commit 7926755704

View file

@ -48,6 +48,8 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug")
-O0 -O0
-fno-omit-frame-pointer -fno-omit-frame-pointer
) )
else()
add_compile_options(-g)
endif() endif()
option(CONFIG_ASAN "Enable AddressSanitizer (ASan)" OFF) option(CONFIG_ASAN "Enable AddressSanitizer (ASan)" OFF)