From 8457c6f705302c26cb7324a10ee096bb54e9ec2b Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sun, 6 Jul 2008 22:07:22 +0000 Subject: [PATCH] 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 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index 2a06f294f39..ae638e2d603 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -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 (),