diff options
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r-- | src/task_ld.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc index b0aa4ae..dc1006a 100644 --- a/src/task_ld.cc +++ b/src/task_ld.cc @@ -15,11 +15,13 @@ TaskLD::TaskLD(const ctor::build_configuration& config, const ctor::settings& settings, const std::string& target, const std::vector<std::string>& objects, - const std::string& sourceDir) + const std::string& sourceDir, + bool is_self) : Task(config, settings, sourceDir) , config(config) , settings(settings) , sourceDir(sourceDir) + , is_self(is_self) { target_type = config.type; output_system = config.system; @@ -125,7 +127,8 @@ int TaskLD::runInner() } auto tool = compiler(); - return execute(tool, args, {}, settings.verbose > 0); + const auto& c = ctor::get_configuration(); + return execute(settings, tool, args, c.env, is_self); } int TaskLD::clean() |