diff options
| author | George Burgess IV <george.burgess.iv@gmail.com> | 2015-11-20 05:02:08 +0000 |
|---|---|---|
| committer | George Burgess IV <george.burgess.iv@gmail.com> | 2015-11-20 05:02:08 +0000 |
| commit | 362352c6be908af4000812d9e228adf1ff468538 (patch) | |
| tree | f83e9f3998d8eaa81b9b8f0be94ecf31046f7d30 | |
| parent | 9dc4c6268107b68a1ed287af7eb05ce326505c0f (diff) | |
| download | bcm5719-llvm-362352c6be908af4000812d9e228adf1ff468538.tar.gz bcm5719-llvm-362352c6be908af4000812d9e228adf1ff468538.zip | |
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. :)
llvm-svn: 253648
| -rw-r--r-- | compiler-rt/cmake/config-ix.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake index 5a22268755e..ae792af1f96 100644 --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/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) |

