Keep standard includes when building C++ modules

svn path=/trunk/; revision=29184
This commit is contained in:
Hervé Poussineau 2007-09-24 12:27:00 +00:00
parent 18bb1da6d2
commit 9fea5a34a6

View file

@ -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