Revert r34346, it didn't work the way I thought because of different CRT's on every host. Using gcc/g++ as the frontend will link to it automatically.

Sorry for the wasted commit.

svn path=/trunk/; revision=34347
This commit is contained in:
Colin Finck 2008-07-06 22:32:07 +00:00
parent 8457c6f705
commit c7f03eaf32

View file

@ -2462,10 +2462,15 @@ MingwBuildToolModuleHandler::GenerateBuildToolModuleTarget ()
string objectsMacro = GetObjectsMacro ( module );
string linkDepsMacro = GetLinkingDependenciesMacro ();
string libsMacro = GetLibsMacro ();
string linker = "${host_ld}";
GenerateRules ();
string linker;
if ( module.cplusplus )
linker = "${host_gpp}";
else
linker = "${host_gcc}";
const FileLocation *target_file = GetTargetFilename ( module, NULL );
fprintf ( fMakefile, "%s: %s %s | %s\n",
targetMacro.c_str (),