mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:33:07 +00:00
Keep standard includes when building C++ modules
svn path=/trunk/; revision=29184
This commit is contained in:
parent
18bb1da6d2
commit
9fea5a34a6
1 changed files with 2 additions and 1 deletions
|
@ -1971,12 +1971,13 @@ MingwModuleHandler::GenerateOtherMacros ()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
globalCflags += " -nostdinc";
|
|
||||||
if ( module.cplusplus )
|
if ( module.cplusplus )
|
||||||
{
|
{
|
||||||
// HACK: use host headers when building C++
|
// HACK: use host headers when building C++
|
||||||
globalCflags += " $(HOST_CPPFLAGS)";
|
globalCflags += " $(HOST_CPPFLAGS)";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
globalCflags += " -nostdinc";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always force disabling of sibling calls optimisation for GCC
|
// Always force disabling of sibling calls optimisation for GCC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue