mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
Keep standard includes when building C++ modules
svn path=/trunk/; revision=29184
This commit is contained in:
@@ -1971,12 +1971,13 @@ MingwModuleHandler::GenerateOtherMacros ()
|
||||
}
|
||||
else
|
||||
{
|
||||
globalCflags += " -nostdinc";
|
||||
if ( module.cplusplus )
|
||||
{
|
||||
// HACK: use host headers when building C++
|
||||
globalCflags += " $(HOST_CPPFLAGS)";
|
||||
}
|
||||
else
|
||||
globalCflags += " -nostdinc";
|
||||
}
|
||||
|
||||
// Always force disabling of sibling calls optimisation for GCC
|
||||
|
||||
Reference in New Issue
Block a user