From 33c4221b1eb6151dc311468656a0ee01cf959633 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sun, 22 Jun 2008 18:38:12 +0000 Subject: [PATCH] Add support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during the build Patch by Alex svn path=/trunk/; revision=34049 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index ebf601c878f..fff325def12 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -1550,10 +1550,14 @@ MingwModuleHandler::GenerateCleanObjectsAsYouGoCode () const void MingwModuleHandler::GenerateRunRsymCode () const { + fprintf ( fMakefile, + "ifneq ($(ROS_GENERATE_RSYM),no)\n" ); fprintf ( fMakefile, "\t$(ECHO_RSYM)\n" ); fprintf ( fMakefile, "\t$(Q)$(RSYM_TARGET) $@ $@\n\n" ); + fprintf ( fMakefile, + "endif\n" ); } void -- 2.17.1