diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-08 11:49:43 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-08 12:13:37 +0100 |
commit | 6cc2e195700e6ce02c04160c0c93af6d325d89d7 (patch) | |
tree | 87f76acebf73498d0fab528e043ea84ca1f8b863 /src/task_ld.cc | |
parent | 87997f6285fdba420c00e740d26f98f7e7e06504 (diff) |
Call execute with full settings.execute_with_env
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() |