mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
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:
parent
8457c6f705
commit
c7f03eaf32
1 changed files with 6 additions and 1 deletions
|
@ -2462,10 +2462,15 @@ MingwBuildToolModuleHandler::GenerateBuildToolModuleTarget ()
|
||||||
string objectsMacro = GetObjectsMacro ( module );
|
string objectsMacro = GetObjectsMacro ( module );
|
||||||
string linkDepsMacro = GetLinkingDependenciesMacro ();
|
string linkDepsMacro = GetLinkingDependenciesMacro ();
|
||||||
string libsMacro = GetLibsMacro ();
|
string libsMacro = GetLibsMacro ();
|
||||||
string linker = "${host_ld}";
|
|
||||||
|
|
||||||
GenerateRules ();
|
GenerateRules ();
|
||||||
|
|
||||||
|
string linker;
|
||||||
|
if ( module.cplusplus )
|
||||||
|
linker = "${host_gpp}";
|
||||||
|
else
|
||||||
|
linker = "${host_gcc}";
|
||||||
|
|
||||||
const FileLocation *target_file = GetTargetFilename ( module, NULL );
|
const FileLocation *target_file = GetTargetFilename ( module, NULL );
|
||||||
fprintf ( fMakefile, "%s: %s %s | %s\n",
|
fprintf ( fMakefile, "%s: %s %s | %s\n",
|
||||||
targetMacro.c_str (),
|
targetMacro.c_str (),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue