Add support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during...
authorColin Finck <colin@reactos.org>
Sun, 22 Jun 2008 18:38:12 +0000 (18:38 +0000)
committerColin Finck <colin@reactos.org>
Sun, 22 Jun 2008 18:38:12 +0000 (18:38 +0000)
Patch by Alex

svn path=/trunk/; revision=34049

reactos/tools/rbuild/backend/mingw/modulehandler.cpp

index ebf601c..fff325d 100644 (file)
@@ -1550,10 +1550,14 @@ MingwModuleHandler::GenerateCleanObjectsAsYouGoCode () const
 void
 MingwModuleHandler::GenerateRunRsymCode () 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,
                  "\t$(ECHO_RSYM)\n" );
        fprintf ( fMakefile,
                  "\t$(Q)$(RSYM_TARGET) $@ $@\n\n" );
+       fprintf ( fMakefile,
+             "endif\n" );
 }
 
 void
 }
 
 void