summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2015-11-20 05:02:08 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2015-11-20 05:02:08 +0000
commit8bbfb0145cb1ec3e14a232d34ea855723c3271a1 (patch)
treea9c4995fd963a7543c758af379f92c38bfaf599d /cmake/config-ix.cmake
parent6ff7d0a8cd0991b538583d5a1aadfe22d5be5414 (diff)
Attempt to fix build breakage caused by r253646.
Apparently check_c_compiler_flag isn't a thing everywhere. Not being incredibly well-versed in cmake, I'm hoping that check_cxx_compiler_flag serves a similar purpose. :) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 5a2226875..ae792af1f 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -28,7 +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(-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)