[ros-diffs] [sserapion] 37392: - Use TARGET_CPPFLAGS, needs latest ROSBE. - Link crt runtime to dlls too.

sserapion at svn.reactos.org sserapion at svn.reactos.org
Mon Nov 17 07:08:13 CET 2008


Author: sserapion
Date: Mon Nov 17 00:08:13 2008
New Revision: 37392

URL: http://svn.reactos.org/svn/reactos?rev=37392&view=rev
Log:
- Use TARGET_CPPFLAGS, needs latest ROSBE.
- Link crt runtime to dlls too.

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

Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp?rev=37392&r1=37391&r2=37392&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] Mon Nov 17 00:08:13 2008
@@ -1915,8 +1915,7 @@
 	{
 		if ( module.cplusplus )
 		{
-			// HACK: use host headers when building C++
-			globalCflags += " $(HOST_CPPFLAGS)";
+			globalCflags += " $(TARGET_CPPFLAGS)";
 		}
 		else
 			globalCflags += " -nostdinc";
@@ -2684,8 +2683,8 @@
 	{
 		if ( module.IsDLL () )
 		{
-			//pLibrary = new Library ( module, "__mingw_dllmain" );
-			//module.non_if_data.libraries.insert ( module.non_if_data.libraries.begin(), pLibrary );
+			pLibrary = new Library ( module, "mingw_dllmain" );
+			module.non_if_data.libraries.insert ( module.non_if_data.libraries.begin(), pLibrary );
 		}
 		else
 		{



More information about the Ros-diffs mailing list