[compiler-rt] [compiler-rt] Reinstate removal of CRT choice flags from CMAKE_*_FLAGS* (PR #67935)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 15:15:08 PDT 2023


================
@@ -375,6 +375,25 @@ endif()
 if(MSVC)
   # FIXME: In fact, sanitizers should support both /MT and /MD, see PR20214.
   set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreaded)
----------------
mstorsjo wrote:

Because Microsoft haven’t yet upstreamed their changes where they make it possible to build the sanitizers with any CRT. The code here, in its current state, only support this one setting - allegedly.

https://github.com/llvm/llvm-project/pull/67935


More information about the llvm-commits mailing list