diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt --- a/libc/CMakeLists.txt +++ b/libc/CMakeLists.txt @@ -77,6 +77,9 @@ if (NOT "compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS) message(FATAL_ERROR "SCUDO cannot be included without adding compiler-rt to LLVM_ENABLE_PROJECTS") endif() + if(NOT DEFINED COMPILER_RT_BUILD_GWP_ASAN) + set(COMPILER_RT_BUILD_GWP_ASAN ON) + endif() endif() include(CMakeParseArguments)