Skip to content

Commit 17c9d4d

Browse files
committed
Revert "[FLANG] Fix MSVC + clang-cl build"
This reverts commit 870fbf8.
1 parent 44bb409 commit 17c9d4d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

flang/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@ endif()
3838
# Must go below project(..)
3939
include(GNUInstallDirs)
4040

41-
# MSVC + clang-cl build requires clang_rt.builtin.${target} library
42-
if (MSVC)
43-
include(HandleCompilerRT)
44-
find_compiler_rt_library(builtins CLANG_RT_BUILTINS_LIBRARY)
45-
get_filename_component(LIBDIR "${CLANG_RT_BUILTINS_LIBRARY}" DIRECTORY)
46-
if (IS_DIRECTORY "${LIBDIR}")
47-
link_libraries(${CLANG_RT_BUILTINS_LIBRARY})
48-
endif()
49-
endif()
50-
5141
if (FLANG_STANDALONE_BUILD)
5242
set(FLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
5343
if (NOT MSVC_IDE)

0 commit comments

Comments
 (0)