Author: sserapion
Date: Thu Dec  3 09:56:36 2009
New Revision: 44374

URL: http://svn.reactos.org/svn/reactos?rev=44374&view=rev
Log:
Attempt to fix building some modules.

Modified:
    branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp

Modified: 
branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp?rev=44374&r1=44373&r2=44374&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp 
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp 
[iso-8859-1] Thu Dec  3 09:56:36 2009
@@ -480,15 +480,15 @@
                fputs ( "BUILTIN_CXXINCLUDES+= $(TARGET_CPPFLAGS)\n", fMakefile 
);
 
                fprintf ( fMakefile, "PROJECT_CCLIBS := \"$(shell ${TARGET_CC} 
-print-libgcc-file-name)\"\n" );
-               fprintf ( fMakefile, "PROJECT_CXXLIBS := \"$(shell 
${TARGET_CPP} -print-file-name=libstdc++.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libgcc.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libmingw32.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libmingwex.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libcoldname.a)\"\n" );
+               fprintf ( fMakefile, "PROJECT_CXXLIBS := \"$(shell 
${TARGET_CPP} -print-file-name=libstdc++.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libgcc.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libmingw32.a)\" \"$(shell ${TARGET_CPP} 
-print-file-name=libmingwex.a)\" " );
 
                /* hack to get libgcc_eh.a, should check mingw version or 
something */
                if (Environment::GetArch() == "amd64")
                {
-                       fprintf ( fMakefile, "PROJECT_LPPFLAGS += $(shell 
${TARGET_CPP} -print-file-name=libgcc_eh.a)\n" );
-               }
-       }
-
+                       fprintf ( fMakefile, " \"$(shell ${TARGET_CPP} 
-print-file-name=libgcc_eh.a)\"" );
+               }
+               fprintf ( fMakefile,"\n");
+       }
        MingwModuleHandler::GenerateParameters ( "PROJECT", "+=", 
ProjectNode.non_if_data );
        MingwModuleHandler::GenerateParameters ( "PROJECT_HOST", "+=", 
ProjectNode.host_non_if_data );
 


Reply via email to