From 8b302a0653171661a9c6c111227c7e605b90864f Mon Sep 17 00:00:00 2001 From: Will Date: Sat, 26 Oct 2024 12:45:15 -0400 Subject: [PATCH] build/cmake: msan seems unsupported on android --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 209e080..8b4aa08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ set(ALLOWED_kcfisan 0) if(NOT WIN32 AND (BUILD_ASAN OR BUILD_SAN)) set(ALLOWED_asan 1) endif() -if(IS_CC_CLANG AND (BUILD_MSAN OR BUILD_SAN)) +if(IS_CC_CLANG AND NOT ANDROID (BUILD_MSAN OR BUILD_SAN)) set(ALLOWED_msan 1) endif() if(NOT ANDROID AND NOT WIN32 AND (BUILD_TSAN OR BUILD_SAN))