Skip to content

Commit 78ed87a

Browse files
author
git apple-llvm automerger
committed
Merge commit '829ddbe71928' from llvm.org/main into next
2 parents 66fde79 + 829ddbe commit 78ed87a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,8 @@ if (LLVM_LINK_LLVM_DYLIB AND BUILD_SHARED_LIBS)
959959
endif()
960960

961961
option(LLVM_OPTIMIZED_TABLEGEN "Force TableGen to be built with optimization" OFF)
962-
if(CMAKE_CROSSCOMPILING OR (LLVM_OPTIMIZED_TABLEGEN AND (LLVM_ENABLE_ASSERTIONS OR CMAKE_CONFIGURATION_TYPES)))
962+
if(CMAKE_CROSSCOMPILING OR (LLVM_OPTIMIZED_TABLEGEN AND (LLVM_ENABLE_ASSERTIONS
963+
OR CMAKE_CONFIGURATION_TYPES OR LLVM_USE_SANITIZER)))
963964
set(LLVM_USE_HOST_TOOLS ON)
964965
endif()
965966

0 commit comments

Comments
 (0)