From 7e7f0a37ad85acff6a61b14f856ff0878dbce30d Mon Sep 17 00:00:00 2001 From: M Starch Date: Thu, 21 Oct 2021 14:01:04 -0700 Subject: [PATCH] lestarch: removing leak sanitizer as it breaks on macOS --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 184a116799..ad0fa20d5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,8 +52,8 @@ endif() find_program(VALGRIND valgrind) # Find valgrind, and use it instead of leak check # For this testing cmake project, enable AddressSanitizer, a runtime memory sanitizer, on all unit tests if (BUILD_TESTING AND NOT VALGRIND) - add_compile_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=leak -fsanitize=undefined) - add_link_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=leak -fsanitize=undefined) + add_compile_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined) + add_link_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined) endif() include("${CMAKE_CURRENT_LIST_DIR}/cmake/FPrime-Code.cmake")