forked from OSchip/llvm-project
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
This commit is contained in:
parent
fad2854058
commit
bde2cd11e8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue