summaryrefslogtreecommitdiff
path: root/src/task_ld.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_ld.cc
parent79c11f3dbaad391633c2678e85eeaba267df5ee1 (diff)
Make extension deduction architecture-aware.
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r--src/task_ld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc
index e619dfd..908b641 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -31,7 +31,7 @@ TaskLD::TaskLD(const ctor::build_configuration& config,
_targetFile = target;
auto toolchain = getToolChain(config.system);
- _targetFile = extension(toolchain, target_type, _targetFile);
+ _targetFile = extension(toolchain, target_type, config.system, _targetFile);
for(const auto& object : objects)
{
std::filesystem::path objectFile = object;