File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -184,15 +184,6 @@ endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
184
184
include (AddLLVM )
185
185
include (TableGen )
186
186
187
- if ( MINGW )
188
- get_system_libs (LLVM_SYSTEM_LIBS_LIST )
189
- foreach (l ${LLVM_SYSTEM_LIBS_LIST} )
190
- set (LLVM_SYSTEM_LIBS "${LLVM_SYSTEM_LIBS} -l${l} " )
191
- endforeach ()
192
- set (CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES}${LLVM_SYSTEM_LIBS} " )
193
- set (CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}${LLVM_SYSTEM_LIBS} " )
194
- endif ()
195
-
196
187
if ( MINGW )
197
188
# People report that -O3 is unreliable on MinGW. The traditional
198
189
# build also uses -O2 for that reason:
Original file line number Diff line number Diff line change @@ -84,11 +84,9 @@ macro(add_llvm_executable name)
84
84
if ( LLVM_COMMON_DEPENDS )
85
85
add_dependencies ( ${name} ${LLVM_COMMON_DEPENDS} )
86
86
endif ( LLVM_COMMON_DEPENDS )
87
- if ( NOT MINGW )
88
- get_system_libs (llvm_system_libs )
89
- if ( llvm_system_libs )
90
- target_link_libraries (${name} ${llvm_system_libs} )
91
- endif ()
87
+ get_system_libs (llvm_system_libs )
88
+ if ( llvm_system_libs )
89
+ target_link_libraries (${name} ${llvm_system_libs} )
92
90
endif ()
93
91
endmacro (add_llvm_executable name )
94
92
You can’t perform that action at this time.
0 commit comments