]> granicus.if.org Git - clang/commitdiff
Removed workaround for unspecified build problem on MinGW.
authorOscar Fuentes <ofv@wanadoo.es>
Sat, 26 Mar 2011 16:11:33 +0000 (16:11 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Sat, 26 Mar 2011 16:11:33 +0000 (16:11 +0000)
Tested that MinGW/MSYS builds fine without that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128341 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 6ebe3c4f6023d90034b03f1f72cd654c91e79b32..a56d07488d91583a4575ff02cebba0a92e242f7c 100644 (file)
@@ -182,11 +182,9 @@ macro(add_clang_library name)
   if (LLVM_COMMON_LIBS)
     target_link_libraries(${name} ${LLVM_COMMON_LIBS})
   endif()
-  if( NOT MINGW )
-    get_system_libs(llvm_system_libs)
-    if( llvm_system_libs )
-      target_link_libraries(${name} ${llvm_system_libs})
-    endif()
+  get_system_libs(llvm_system_libs)
+  if( llvm_system_libs )
+    target_link_libraries(${name} ${llvm_system_libs})
   endif()
   add_dependencies(${name} ClangDiagnosticCommon)
   if(MSVC)