[llvm-branch-commits] [llvm] 087082a - [cmake] Increase -fms-compatibility-version in Windows toolchain file
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 18 20:11:53 PDT 2022
Author: Shoaib Meenai
Date: 2022-05-18T19:54:03-07:00
New Revision: 087082a828ffc833ec5b54caadd5ba86af811dae
URL: https://github.com/llvm/llvm-project/commit/087082a828ffc833ec5b54caadd5ba86af811dae
DIFF: https://github.com/llvm/llvm-project/commit/087082a828ffc833ec5b54caadd5ba86af811dae.diff
LOG: [cmake] Increase -fms-compatibility-version in Windows toolchain file
Make it match LLVM's new minimum requirement (after https://reviews.llvm.org/D114639).
(cherry picked from commit 4db89e23190d1d1590d88df08056d327e651c94c)
Added:
Modified:
llvm/cmake/platforms/WinMsvc.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/platforms/WinMsvc.cmake b/llvm/cmake/platforms/WinMsvc.cmake
index d30701a318584..ebb4da419e46a 100644
--- a/llvm/cmake/platforms/WinMsvc.cmake
+++ b/llvm/cmake/platforms/WinMsvc.cmake
@@ -259,7 +259,7 @@ set(CROSS_TOOLCHAIN_FLAGS_NATIVE "${_CTF_NATIVE_DEFAULT}" CACHE STRING "")
set(COMPILE_FLAGS
-D_CRT_SECURE_NO_WARNINGS
--target=${TRIPLE_ARCH}-windows-msvc
- -fms-compatibility-version=19.14
+ -fms-compatibility-version=19.20
-imsvc "${ATLMFC_INCLUDE}"
-imsvc "${MSVC_INCLUDE}"
-imsvc "${WINSDK_INCLUDE}/ucrt"
More information about the llvm-branch-commits
mailing list