summaryrefslogtreecommitdiff
path: root/src/task_cc.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-08 11:49:43 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-12-08 12:13:37 +0100
commit6cc2e195700e6ce02c04160c0c93af6d325d89d7 (patch)
tree87f76acebf73498d0fab528e043ea84ca1f8b863 /src/task_cc.cc
parent87997f6285fdba420c00e740d26f98f7e7e06504 (diff)
Call execute with full settings.execute_with_env
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r--src/task_cc.cc3
1 files changed, 2 insertions, 1 deletions
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()