From 6cc2e195700e6ce02c04160c0c93af6d325d89d7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 8 Dec 2024 11:49:43 +0100 Subject: Call execute with full settings. --- src/task_ld.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/task_ld.cc') 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& 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() -- cgit v1.2.3