mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Also link host binaries with ld and not gcc/g++.
Same change was already done for target binaries in r34187. svn path=/trunk/; revision=34346
This commit is contained in:
@@ -2462,15 +2462,10 @@ 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 (),
|
||||
|
||||
Reference in New Issue
Block a user