summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-08-06 23:34:04 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-08-06 23:34:04 +0000
commitbde2cd11e8d0520b73a8e3e2dce5ee4901ec071f (patch)
treed8283e4dd399333b344a15621b95e3ef595e6a4b /llvm/cmake/modules
parentfad2854058b156c1622e85e4e02ea5bfbbb5c1f9 (diff)
downloadbcm5719-llvm-bde2cd11e8d0520b73a8e3e2dce5ee4901ec071f.tar.gz
bcm5719-llvm-bde2cd11e8d0520b73a8e3e2dce5ee4901ec071f.zip
Replacing /GR with /GR- instead of applying both options to the project. This should reduce some build bot warnings (D9025: "overriding '/GR' with '/GR-'").
llvm-svn: 187836
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index f0b31ce6538..094969c8f4f 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/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)
OpenPOWER on IntegriCloud