aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-08 20:01:40 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-08 20:01:40 -0400
commitb97fe3f12080e2427c40f089af0c60217951291b (patch)
treea6deb3d9a5b37fe164da6e5b6fbf8d5f337f61b8
parent00314ad424035c5ed1ebdaf62cf387b8eeadeb55 (diff)
downloadstasis-b97fe3f12080e2427c40f089af0c60217951291b.tar.gz
ASAN: Darwin arm64 doesn't support "leak"
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd214ca..71e310b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ find_package(LibXml2)
find_package(CURL)
option(ASAN "Address Analyzer" OFF)
-set(ASAN_OPTIONS "-fsanitize=address,leak,null,undefined")
+set(ASAN_OPTIONS "-fsanitize=address,null,undefined")
if (ASAN)
add_compile_options(${ASAN_OPTIONS} -fno-omit-frame-pointer -g -O0)
add_link_options(${ASAN_OPTIONS})