summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/ChooseMSVCCRT.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/cmake/modules/ChooseMSVCCRT.cmake')
-rw-r--r--llvm/cmake/modules/ChooseMSVCCRT.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/cmake/modules/ChooseMSVCCRT.cmake b/llvm/cmake/modules/ChooseMSVCCRT.cmake
index cdd7deec4c8..0e6e1aa5525 100644
--- a/llvm/cmake/modules/ChooseMSVCCRT.cmake
+++ b/llvm/cmake/modules/ChooseMSVCCRT.cmake
@@ -66,15 +66,6 @@ variables (LLVM_USE_CRT_DEBUG, etc) instead.")
get_current_crt(LLVM_USE_CRT_${build}
MSVC_CRT_REGEX
CMAKE_CXX_FLAGS_${build})
-
- # Make /MT the default in Release builds to make them faster
- # and avoid the DLL function thunking.
- if ((${build} STREQUAL "MINSIZEREL") OR
- (${build} STREQUAL "RELEASE") OR
- (${build} STREQUAL "RELWITHDEBINFO"))
- set(LLVM_USE_CRT_${build} "MT")
- endif()
-
set(LLVM_USE_CRT_${build}
"${LLVM_USE_CRT_${build}}"
CACHE STRING "Specify VC++ CRT to use for ${build_type} configurations."
OpenPOWER on IntegriCloud