[CMAKE]
[reactos.git] / gcc.cmake
index 1198769..46b51eb 100644 (file)
--- a/gcc.cmake
+++ b/gcc.cmake
@@ -89,7 +89,7 @@ macro(set_module_type MODULE TYPE)
         else()
             target_link_libraries(${MODULE} mingw_wmain)
         endif(NOT IS_UNICODE)
-               target_link_libraries(${MODULE} -lgcc mingw_common)
+               target_link_libraries(${MODULE} mingw_common)
     endif()
     if(${TYPE} MATCHES win32cui)
         set_subsystem(${MODULE} console)
@@ -99,7 +99,7 @@ macro(set_module_type MODULE TYPE)
         else()
             target_link_libraries(${MODULE} mingw_wmain)
         endif(NOT IS_UNICODE)
-               target_link_libraries(${MODULE} -lgcc mingw_common)
+               target_link_libraries(${MODULE} mingw_common)
     endif()
     if(${TYPE} MATCHES win32dll)
         set_entrypoint(${MODULE} DllMain@12)