summaryrefslogtreecommitdiff
path: root/src/task_cc.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-19 14:22:51 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-19 14:22:51 +0100
commit3cbadb8f5c55020ece96fab0fc8f4f51da01888e (patch)
tree8c2bf1a8bd5426c6f99cf91d1811a10f3999a477 /src/task_cc.cc
parent79c11f3dbaad391633c2678e85eeaba267df5ee1 (diff)
Make extension deduction architecture-aware.
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r--src/task_cc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc
index f16a07f..46662ad 100644
--- a/src/task_cc.cc
+++ b/src/task_cc.cc
@@ -62,7 +62,7 @@ TaskCC::TaskCC(const ctor::build_configuration& config, const ctor::settings& se
_targetFile = source.output;
}
auto toolchain = getToolChain(config.system);
- _targetFile = extension(toolchain, target_type, _targetFile);
+ _targetFile = extension(toolchain, target_type, config.system, _targetFile);
depsFile = targetFile().parent_path() / targetFile().stem();
depsFile += ".d";