From bdb401caeadedb166d3eda27ca0fcda8a2a0b43d Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 4 Sep 2024 12:34:13 +0600 Subject: [PATCH] Temporary add of LeakSanitizer flags for build --- source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 2437b12..b60df14 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -95,7 +95,7 @@ add_definitions(-DVTE_INCLUDE) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \ -O2 -pipe -fno-plt -fexceptions \ -Wformat -Werror=format-security \ - -fstack-clash-protection -fcf-protection -fsanitize=address") + -fstack-clash-protection -fcf-protection -fsanitize=address -fno-omit-frame-pointer") string(FIND "${CMAKE_CXX_FLAGS}" "-D_FORTIFY_SOURCE" FORTIFY_FOUND)