Skip to content

Commit 34fe961

Browse files
committed
Fix msan build
After D85820 TERMINFO_LIB is undefined.
1 parent 1283dca commit 34fe961

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/config-ix.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
178178
else()
179179
set(LLVM_ENABLE_TERMINFO 0)
180180
endif()
181+
else()
182+
set(LLVM_ENABLE_TERMINFO 0)
181183
endif()
182184

183185
if (LLVM_ENABLE_LIBXML2 STREQUAL "FORCE_ON" AND NOT LLVM_LIBXML2_ENABLED)

0 commit comments

Comments
 (0)