Author: hpoussin Date: Mon Sep 24 16:27:00 2007 New Revision: 29184
URL: http://svn.reactos.org/svn/reactos?rev=29184&view=rev Log: Keep standard includes when building C++ modules
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw/... ============================================================================== --- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp (original) +++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp Mon Sep 24 16:27:00 2007 @@ -1971,12 +1971,13 @@ } 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