mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Use TARGET_CPPFLAGS, needs latest ROSBE.
- Link crt runtime to dlls too. svn path=/branches/ros-amd64-bringup/; revision=37392
This commit is contained in:
@@ -1915,8 +1915,7 @@ MingwModuleHandler::GenerateOtherMacros ()
|
||||
{
|
||||
if ( module.cplusplus )
|
||||
{
|
||||
// HACK: use host headers when building C++
|
||||
globalCflags += " $(HOST_CPPFLAGS)";
|
||||
globalCflags += " $(TARGET_CPPFLAGS)";
|
||||
}
|
||||
else
|
||||
globalCflags += " -nostdinc";
|
||||
@@ -2684,8 +2683,8 @@ MingwAddImplicitLibraries( Module &module )
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user