From b5c8f7100a7f702c8cde7dfb3436b3ab8a617981 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sat, 27 Jul 2024 15:12:17 +0300 Subject: [PATCH] -fsanitize=undefined --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 064f445..79e9a8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,6 +101,7 @@ else() set(BUILD_FLAGS_DEBUG -g3 -gdwarf + -fsanitize=undefined -fsanitize-trap=undefined) target_compile_options(${PROJECT_NAME} PRIVATE ${WARNING_FLAGS}