From 3cbadb8f5c55020ece96fab0fc8f4f51da01888e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 19 Jan 2023 14:22:51 +0100 Subject: Make extension deduction architecture-aware. --- src/task_cc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/task_cc.cc') 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"; -- cgit v1.2.3