From 9fea5a34a6abb4bbefa5cf94e0fe97e8f115c422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 24 Sep 2007 12:27:00 +0000 Subject: [PATCH] Keep standard includes when building C++ modules svn path=/trunk/; revision=29184 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index a66dc08acef..460eaefb2c5 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -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