From 0bd36829acdcd939af9c8708e25b1b1185fa6265 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 4 Sep 2024 12:14:43 +0600 Subject: [PATCH] Test added new flag --- source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index a3e0cae..2437b12 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") + -fstack-clash-protection -fcf-protection -fsanitize=address") string(FIND "${CMAKE_CXX_FLAGS}" "-D_FORTIFY_SOURCE" FORTIFY_FOUND)