summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2015-11-20 03:37:12 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2015-11-20 03:37:12 +0000
commit6ff7d0a8cd0991b538583d5a1aadfe22d5be5414 (patch)
tree78562c0c7d6071f051730b0d2b844e00d642094a /cmake/config-ix.cmake
parent6b8affc94f9f5076ab5a1773459988b21711ad75 (diff)
Silence "unrecognised -std=c99" warning on MSVC.
Thanks to angelsl for the patch! Differential Revision: http://reviews.llvm.org/D13692 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 60ea3d91b..5a2226875 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -28,6 +28,7 @@ check_cxx_compiler_flag(-std=c++11 COMPILER_RT_HAS_STD_CXX11_FLAG)
check_cxx_compiler_flag(-ftls-model=initial-exec COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC)
check_cxx_compiler_flag(-fno-lto COMPILER_RT_HAS_FNO_LTO_FLAG)
check_cxx_compiler_flag(-msse3 COMPILER_RT_HAS_MSSE3_FLAG)
+check_c_compiler_flag(-std=c99 COMPILER_RT_HAS_STD_C99_FLAG)
check_cxx_compiler_flag(/GR COMPILER_RT_HAS_GR_FLAG)
check_cxx_compiler_flag(/GS COMPILER_RT_HAS_GS_FLAG)