Skip to content

Commit b8519cb

Browse files
committed
Drop /sdl flag - LLVM isn't warning-free so we can't apply it globally
1 parent 3322d25 commit b8519cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/cmake/modules/AddSecurityFlags.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ macro(append_common_extra_security_flags)
6060
elseif(is_msvc)
6161
add_link_option_ext("/LTCG" LTCG CMAKE_EXE_LINKER_FLAGS
6262
CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS)
63-
add_compile_option_ext("/sdl" SDL)
6463
add_compile_option_ext("/guard:cf" GUARDCF)
6564
add_link_option_ext("/CETCOMPAT" CETCOMPAT CMAKE_EXE_LINKER_FLAGS
6665
CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS)

0 commit comments

Comments
 (0)