diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-08-06 23:34:04 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-08-06 23:34:04 +0000 |
commit | f65993999079bcde7b04373eca9ffa2be0e7ffe9 (patch) | |
tree | 00af267bed7646c366a734e63d88a047c5b96418 /cmake | |
parent | c89c964499ef71e496be37ac12a5c521e263f44e (diff) | |
download | external_llvm-f65993999079bcde7b04373eca9ffa2be0e7ffe9.zip external_llvm-f65993999079bcde7b04373eca9ffa2be0e7ffe9.tar.gz external_llvm-f65993999079bcde7b04373eca9ffa2be0e7ffe9.tar.bz2 |
Replacing /GR with /GR- instead of applying both options to the project. This should reduce some build bot warnings (D9025: "overriding '/GR' with '/GR-'").
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index f0b31ce..094969c 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -191,7 +191,7 @@ function(add_unittest test_suite test_name) if (LLVM_COMPILER_IS_GCC_COMPATIBLE) set(target_compile_flags "${target_compile_flags} -fno-rtti") elseif (MSVC) - set(target_compile_flags "${target_compile_flags} /GR-") + llvm_replace_compiler_option(target_compile_flags "/GR" "/GR-") endif () if (SUPPORTS_NO_VARIADIC_MACROS_FLAG) |