summaryrefslogtreecommitdiff
path: root/src/task_ld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r--src/task_ld.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc
index 9a36bd9..20a4f37 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -47,13 +47,13 @@ TaskLD::TaskLD(const BuildConfiguration& config,
flagsFile = std::filesystem::path(settings.builddir) / cleanUp(sourceDir) / targetFile().stem();
flagsFile += ".flags";
- source_language = Language::C;
+ source_language = ctor::language::c;
for(const auto& source : config.sources)
{
std::filesystem::path sourceFile(source.file);
if(sourceFile.extension().string() != ".c")
{
- source_language = Language::Cpp;
+ source_language = ctor::language::cpp;
}
}
}