mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
Keep standard includes when building C++ modules
svn path=/trunk/; revision=29184
This commit is contained in:
parent
18bb1da6d2
commit
9fea5a34a6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue