diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 14fda1fe4..1c189c2bc 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -4,7 +4,7 @@ include(AddCompilerRT) include(SanitizerUtils) # Don't build sanitizers in the bootstrap build. -if(LLVM_USE_SANITIZER STREQUAL "") +if(NOT LLVM_USE_SANITIZER) # AddressSanitizer is supported on Linux and Mac OS X. # 32-bit Windows support is experimental. if(CMAKE_SYSTEM_NAME MATCHES "Darwin|Linux") |