diff options
-rw-r--r-- | lld/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt index a09f9ecb58b..223ff7da6ee 100644 --- a/lld/CMakeLists.txt +++ b/lld/CMakeLists.txt @@ -102,14 +102,6 @@ macro(add_lld_library name) target_link_libraries(${name} ${LLVM_COMMON_LIBS}) link_system_libs(${name}) - if(MSVC) - get_target_property(cflag ${name} COMPILE_FLAGS) - if(NOT cflag) - set(cflag "") - endif(NOT cflag) - set(cflag "${cflag} /Za") - set_target_properties(${name} PROPERTIES COMPILE_FLAGS ${cflag}) - endif(MSVC) install(TARGETS ${name} LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) |