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_cc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/task_cc.cc') diff --git a/src/task_cc.cc b/src/task_cc.cc index 4eb07ae..dabeefa 100644 --- a/src/task_cc.cc +++ b/src/task_cc.cc @@ -193,7 +193,8 @@ int TaskCC::runInner() targetFile().lexically_normal().string() << std::endl; } - return execute(compiler(), args, {}, settings.verbose > 0); + const auto& cfg = ctor::get_configuration(); + return execute(settings, compiler(), args, cfg.env); } int TaskCC::clean() -- cgit v1.2.3