Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta (tmow) <antenore@simbiosi.org>2022-05-20 00:32:24 +0300
committerAntenore Gatta (tmow) <antenore@simbiosi.org>2022-05-20 00:32:24 +0300
commit137a053c17119a2239c75b35ec2ce40d30d61b2b (patch)
tree3535987fd159c48f4a617527f81ac126fcd97ea6 /CMakeLists.txt
parent5ef916bef31f1af57b018215be33ad09141323f7 (diff)
Fix dangling pointer after scrolled_container destruction.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1989bad53..2d78df09a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,6 +153,8 @@ if(CMAKE_COMPILER_IS_GNUCC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DDEBUG)
+ set(CMAKE_CXX_FLAGS_DEBUG "-O0")
+ set(CMAKE_C_FLAGS_DEBUG "-O0")
check_c_compiler_flag(-Wunused-result Wunused-result)
if(Wunused-result)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused-result")